From 9513a6aea0490272bbb832e7dd9c3eb28a0d8bac Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Thu, 11 Jan 2024 15:34:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/keyList/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }) } ) })