fix: dutyinfo when in duty

This commit is contained in:
Dawn_Ocean
2024-04-24 00:19:46 +08:00
parent 7e3ad80121
commit fbe7b9d7de
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"enhance": false,
"compileHotReLoad": false,
"postcss": false,
"minified": false,
"minified": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
+1 -1
View File
@@ -3,7 +3,7 @@
"projectname": "EVA-Notify",
"setting": {
"compileHotReLoad": true,
"urlCheck": false,
"urlCheck": true,
"bigPackageSizeSupport": true
}
}
+7
View File
@@ -42,6 +42,13 @@ export function getDutyInfo(that: MainPage) {
},
});
}
} else {
that.setState({
dutyData: {
...that.state.dutyData,
place: pt.get().common.place,
},
});
}
})
.catch((err) => {