fix: dutyinfo when in duty

mgy
Dawn_Ocean 2024-04-24 00:19:46 +08:00
parent 7e3ad80121
commit fbe7b9d7de
3 changed files with 9 additions and 2 deletions

View File

@ -9,7 +9,7 @@
"enhance": false,
"compileHotReLoad": false,
"postcss": false,
"minified": false,
"minified": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],

View File

@ -3,7 +3,7 @@
"projectname": "EVA-Notify",
"setting": {
"compileHotReLoad": true,
"urlCheck": false,
"urlCheck": true,
"bigPackageSizeSupport": true
}
}

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) => {