🐛 fix: 修复bug

This commit is contained in:
wangsongsole 2024-01-11 15:34:40 +08:00
parent cd77ace139
commit 9513a6aea0
1 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,6 @@ const UseKeyList = () => {
res,
(req, msg) => {
setState({ loading: false })
console.log("req =>", req)
if (req.total > 0) {
setState({ lodgingTable: false })
} else {
@ -207,7 +206,8 @@ const UseKeyList = () => {
setState({ dataCount: req.total, tableData: req.data })
},
(err) => {
Notify.warn(err)
Notify.error(err)
setState({ loading: false })
}
)
})