Kaynağa Gözat

fix:组件名称超长省略

liu.shiyi 1 yıl önce
ebeveyn
işleme
6605057ee2

+ 1 - 1
data-room-ui/packages/BigScreenDesign/ComponentDialog/index.vue

@@ -670,7 +670,7 @@ export default {
           .left-bigscreen-title {
             font-size: 14px;
             overflow: hidden;
-            width: 120px;
+            width: 100%;
             white-space: nowrap;
             text-overflow: ellipsis;
           }

+ 1 - 1
data-room-ui/packages/BigScreenList/index.vue

@@ -506,7 +506,7 @@ export default {
           .left-bigscreen-title {
             font-size: 14px;
             overflow: hidden;
-            width: 120px;
+            width: 100%;
             white-space: nowrap;
             text-overflow: ellipsis;
           }

+ 1 - 1
data-room-ui/packages/BorderSelect/index.vue

@@ -312,7 +312,7 @@ export default {
           .left-bigscreen-title {
             font-size: 14px;
             overflow: hidden;
-            width: 120px;
+            width: 100%;
             white-space: nowrap;
             text-overflow: ellipsis;
           }

+ 1 - 1
data-room-ui/packages/ComponentList/index.vue

@@ -631,7 +631,7 @@ export default {
           .left-bigscreen-title {
             font-size: 14px;
             overflow: hidden;
-            width: 120px;
+            width: 100%;
             white-space: nowrap;
             text-overflow: ellipsis;
           }

+ 6 - 6
data-room-ui/packages/G2Plots/折线图/迷你面积图.js

@@ -90,10 +90,10 @@ const setting = [
     value: 0.3,
     tabName: 'custom',
     groupName: 'graph',
-    step:0.01,
-    max:1,
-    min:0
-  },
+    step: 0.01,
+    max: 1,
+    min: 0
+  }
   // 边距 padding
 ]
 
@@ -106,8 +106,8 @@ const dataHandler = '// 取出所有指标的值 \ndata = data.map(item => item[
 // 图表配置 new Line('domName', option)
 const option = {
   data: [16, 95, 35, 27, 50, 36, 78, 99, 60, 62, 37],
-  xField:'',
-  yField:'',
+  xField: '',
+  yField: '',
   height: 60,
   autoFit: true,
   smooth: true,