diff --git a/src/pages/plan/keyList/index.jsx b/src/pages/plan/keyList/index.jsx index 954ffdc1..8e632ac9 100644 --- a/src/pages/plan/keyList/index.jsx +++ b/src/pages/plan/keyList/index.jsx @@ -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 }) } ) })