fix: dutyinfo when in duty
parent
7e3ad80121
commit
fbe7b9d7de
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue