fix: dutyinfo when in duty
This commit is contained in:
@@ -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