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