소스 검색

Merge branch 'bug_4879'

hbchen 9 달 전
부모
커밋
1340fb5284
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;