fix: dutyinfo when in duty
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@
|
||||
"enhance": false,
|
||||
"compileHotReLoad": false,
|
||||
"postcss": false,
|
||||
"minified": false,
|
||||
"minified": true,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"projectname": "EVA-Notify",
|
||||
"setting": {
|
||||
"compileHotReLoad": true,
|
||||
"urlCheck": false,
|
||||
"urlCheck": true,
|
||||
"bigPackageSizeSupport": true
|
||||
}
|
||||
}
|
||||
@@ -42,6 +42,13 @@ export function getDutyInfo(that: MainPage) {
|
||||
},
|
||||
});
|
||||
}
|
||||
} else {
|
||||
that.setState({
|
||||
dutyData: {
|
||||
...that.state.dutyData,
|
||||
place: pt.get().common.place,
|
||||
},
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user