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