This commit is contained in:
guochunsi
2026-01-08 19:00:25 +08:00
parent 8a1faabd70
commit 98fcd368f9
45 changed files with 1818 additions and 2354 deletions

View File

@@ -347,8 +347,9 @@ const changeState = (row: any, val: number) => {
})
message.success('操作成功')
getDataList()
} catch (error) {
// Failed to change state
} catch (error: any) {
// 处理业务错误
message.error(error.msg)
}
}).catch(() => {})
} else if (val === -2) {
@@ -393,8 +394,9 @@ const handleDel = (row: any) => {
state.pagination.current = state.pagination.current - 1
}
getDataList()
} catch (error) {
// Failed to delete
} catch (error: any) {
// 处理业务错误
message.error(error.msg)
}
}).catch(() => {})
}