Browse Source

Merge branch 'bug_4879'

hbchen 9 months ago
parent
commit
1340fb5284
1 changed files with 2 additions and 0 deletions
  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;