optimize exception handling

This commit is contained in:
Dawn1Ocean
2024-03-29 20:48:15 +08:00
parent 59ee57827b
commit 4feccbd442
22 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export function getMemberDutyInfo(that: MainPage) {
}
})
.catch((err) => {
console.log(err);
console.log(err.errMsg);
that.setState({
dutyData: {
isInDuty: false,