🐛 fix: 修复bug
This commit is contained in:
parent
cd77ace139
commit
9513a6aea0
|
@ -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 })
|
||||
}
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue