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