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} + { } }} /> + + {/* 批量上传 */}