瀏覽代碼

Revert "fix:修复bug"

This reverts commit 888d9fc463bc92f8f9fe8f08f5fd12b5c5f5e183.
liu.shiyi 1 年之前
父節點
當前提交
e87555e649
共有 1 個文件被更改,包括 49 次插入49 次删除
  1. 49 49
      data-room-ui/packages/js/utils/getComponentConfig.js

+ 49 - 49
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 {}
   }