Explorar el Código

清表模板问题修复

gangyj hace 2 años
padre
commit
813a6ff1a4
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      src/views/exctab/excelmodel/excelmodel.vue

+ 7 - 1
src/views/exctab/excelmodel/excelmodel.vue

@@ -208,11 +208,12 @@
                 ></el-option>
               </el-select>
             </div>
-            <div class="leftscroll" v-loading="loading">
+            <div class="treecontent" v-loading="loading">
               <avue-tree
                 :option="option2"
                 :data="wbsdata"
                 @node-click="nodeClickExcel"
+                style="height:450px"
               >
                 <span
                   class="el-tree-node__label"
@@ -656,6 +657,7 @@ export default {
       }, 100)
 
       this.tableData = [];
+      this.tableList = [];
     },
     nodeClickExcel (data) {//wbs树点击事件
       console.log(data);
@@ -769,6 +771,10 @@ export default {
   color: rgb(0, 82, 217);
 }
 
+.treecontent /deep/.el-scrollbar {
+  height: 100%;
+}
+
 .el-scrollbar {
   height: 100%;
 }