lanjianrong před 5 roky
rodič
revize
01b7d6fe06
1 změnil soubory, kde provedl 2 přidání a 4 odebrání
  1. 2 4
      src/pages/workbench/Dashboard/index.jsx

+ 2 - 4
src/pages/workbench/Dashboard/index.jsx

@@ -45,9 +45,6 @@ const Dashboard = () => {
   // 展示卡片详情
   const handleRatioCard = dataType => {
     setModalProps({
-      zIndex: '1100',
-      closable: true,
-      onClose: () => toggleModal(),
       width: '90vw',
       modalRender: () => (
         <RatioPanels
@@ -56,7 +53,8 @@ const Dashboard = () => {
           retioCyclical={state.params.cyclical}
           dataPermission={state.params.dataPermission}
         />
-      )
+      ),
+      onCancel: () => toggleModal()
     })
     toggleModal()
   }