From e87555e6498400675202235091be04b6a579bf2e Mon Sep 17 00:00:00 2001 From: "liu.shiyi" Date: Wed, 25 Oct 2023 14:26:37 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=E4=BF=AE=E5=A4=8Dbug"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 888d9fc463bc92f8f9fe8f08f5fd12b5c5f5e183. --- .../packages/js/utils/getComponentConfig.js | 98 +++++++++---------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/data-room-ui/packages/js/utils/getComponentConfig.js b/data-room-ui/packages/js/utils/getComponentConfig.js index 3127f23a..c196aa5c 100644 --- a/data-room-ui/packages/js/utils/getComponentConfig.js +++ b/data-room-ui/packages/js/utils/getComponentConfig.js @@ -299,58 +299,58 @@ export default function getComponentConfig (type) { y: 0, type } - case 'indicatorCard': - return { - name: '指标卡一', - title: '指标卡一', - icon: null, - img: require('data-room-ui/assets/images/cardImg/card.png'), - className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndicatorCardChart', - w: 400, - h: 170, - x: 0, - y: 0, - type + case 'indicatorCard': + return { + name: '指标卡一', + title: '指标卡一', + icon: null, + img: require('data-room-ui/assets/images/cardImg/card.png'), + className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndicatorCardChart', + w: 400, + h: 170, + x: 0, + y: 0, + type } - case 'indicatorCard2': - return { - name: '指标卡二', - title: '指标卡二', - icon: null, - img: require('data-room-ui/assets/images/cardImg/card2.png'), - className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndicatorCardChart', - w: 400, - h: 170, - x: 0, - y: 0, - type + case 'indicatorCard2': + return { + name: '指标卡二', + title: '指标卡二', + icon: null, + img: require('data-room-ui/assets/images/cardImg/card2.png'), + className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndicatorCardChart', + w: 400, + h: 170, + x: 0, + y: 0, + type } - case 'indexCard': - return { - name: '指标卡三', - title: '指标卡三', - icon: null, - img: require('data-room-ui/assets/images/cardImg/indicard.png'), - className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndexCardChart', - w: 400, - h: 170, - x: 0, - y: 0, - type - } - case 'indexCard2': - return { - name: '指标卡四', - title: '指标卡四', - icon: null, - img: require('data-room-ui/assets/images/cardImg/indcard2.png'), - className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndexCardChart', - w: 400, - h: 170, - x: 0, - y: 0, - type + case 'indexCard': + return { + name: '指标卡三', + title: '指标卡三', + icon: null, + img: require('data-room-ui/assets/images/cardImg/indicard.png'), + className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndexCardChart', + w: 400, + h: 170, + x: 0, + y: 0, + type } + case 'indexCard2': + return { + name: '指标卡四', + title: '指标卡四', + icon: null, + img: require('data-room-ui/assets/images/cardImg/indcard2.png'), + className: 'com.gccloud.dataroom.core.module.chart.components.ScreenIndexCardChart', + w: 400, + h: 170, + x: 0, + y: 0, + type + } default: return {} }