diff --git a/src/page/Dashboard/DataManager/DataManageTable.jsx b/src/page/Dashboard/DataManager/DataManageTable.jsx index 45b7049..e04efbc 100644 --- a/src/page/Dashboard/DataManager/DataManageTable.jsx +++ b/src/page/Dashboard/DataManager/DataManageTable.jsx @@ -59,14 +59,14 @@ const DataManageTable = props => { fetchWorkloadData={fetWorkload} /> {/* 编辑抽屉 */} - + />*/}

数据管理

diff --git a/src/page/Dashboard/DataPrint/index.jsx b/src/page/Dashboard/DataPrint/index.jsx index e76ca1a..ea5cf58 100644 --- a/src/page/Dashboard/DataPrint/index.jsx +++ b/src/page/Dashboard/DataPrint/index.jsx @@ -8,7 +8,8 @@ import {PlusOutlined} from "@ant-design/icons"; import {useNavigate} from "react-router-dom"; const DataPrint = props => { - const [downloadDisabled, setDownloadDisabled] = useState(true); + //const [downloadDisabled, setDownloadDisabled] = useState(true); + const [setDownloadDisabled] = useState(true); const previewClicked = () => { setDownloadDisabled(false); } diff --git a/src/page/Dashboard/GenerateCertificate/index.jsx b/src/page/Dashboard/GenerateCertificate/index.jsx index c922ac0..bb323e1 100644 --- a/src/page/Dashboard/GenerateCertificate/index.jsx +++ b/src/page/Dashboard/GenerateCertificate/index.jsx @@ -37,7 +37,7 @@ const GenerateCertificate = props => { const [result, setResult] = React.useState({}); const [loading, setLoading] = React.useState(false); - const [pageConfig, setPageConfig] = React.useState({}); + //const [pageConfig, setPageConfig] = React.useState({}); const steps = [ { @@ -160,7 +160,7 @@ const GenerateCertificate = props => { const onPrev = () => { let nextCurrent = current - 1; setCurrent(nextCurrent); - let editFlag = sessionStorage.getItem('edit-flag'); + //let editFlag = sessionStorage.getItem('edit-flag'); if (nextCurrent <= 0) { setCurrent(0) setPreButton({...preButton, disabled: true,})