Explorar o código

Merge branch 'bug_4879'

hbchen hai 9 meses
pai
achega
1340fb5284
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/CustomElement/EtaChart.ce.vue

+ 2 - 0
src/CustomElement/EtaChart.ce.vue

@@ -207,6 +207,8 @@ div{
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
+        // 等待图表加载出来 会根据祖先元素的长度修改max-width 先定为1px防止长度太长,撑开祖先元素
+        max-width: 1px;
     }
     .text_oneLine{
         white-space: nowrap;