From 97c98bb22c280b65f5f24beceffd6d4255fbfbfe Mon Sep 17 00:00:00 2001 From: Apple <> Date: Wed, 24 Aug 2022 18:01:10 +0800 Subject: [PATCH] =?UTF-8?q?keys=E6=9F=A5=E8=AF=A2=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/keyList/index.jsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/plan/keyList/index.jsx b/src/pages/plan/keyList/index.jsx index 566668f9..0d1f42d1 100644 --- a/src/pages/plan/keyList/index.jsx +++ b/src/pages/plan/keyList/index.jsx @@ -6,6 +6,7 @@ import menu from '@/assets/enum.js' import _ from 'lodash' import { Button, + BlockLoading, Icon, Notify, Alert, @@ -137,6 +138,7 @@ const UseKeyList = () => { key: '' }, hash: '', + loading:false, page: 1, limit: 10, isQuery: false, @@ -189,10 +191,12 @@ const UseKeyList = () => { */ const getTable = () => { const param = getParam() + setState({loading:true}); getKeysList(param).then((res) => { handelResponse( res, (req, msg) => { + setState({loading:false}); console.log('req =>', req) if (req.total > 0) { setState({ lodgingTable: false }) @@ -616,6 +620,7 @@ const UseKeyList = () => { {state.invalidTotal} ) : null} + { } }} /> + + {/* 批量上传 */}