qymljy 7 месяцев назад
Родитель
Сommit
be698f4644
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      src/HDrpManagement/orderManage/details/tabs/table.vue

+ 5 - 2
src/HDrpManagement/orderManage/details/tabs/table.vue

@@ -3,7 +3,7 @@
     <!-- :header-cell-style="{background:'#EEEEEE',color:'#333'}" -->
     <el-table  ref="table" :fit="tool.calculatedColumnWidth($refs.table,layout)" :row-class-name="tableClassName" highlight-current-row :data="data"
                size="mini"  :height="height" @row-click="rowClick" style="width:100%;" :header-cell-style="{height:'40px',color:'#606266',fontWeight:'400',fontSize:'14px'}"
-              :cell-style="{height:'40px',color:'#666666',fontWeight:'400'}" border stripe @selection-change="selectionChange" >
+              :cell-style="{height:'40px',color:'#666666',fontWeight:'400'}" border stripe @selection-change="selectionChange" @loadedmetadata="loadedmetadata">
       <el-table-column
           type="selection"
           width="35" fixed v-if="checkbox">
@@ -111,6 +111,9 @@ export default {
       if (this.$refs.table || this.$refs.table.doLayout) {
         this.$refs.table.doLayout();
       }
+    },
+    loadedmetadata(){
+      console.log('加载中测试')
     }
   },
   mounted () {
@@ -131,7 +134,7 @@ export default {
 
 /* 设置滚动条常显示 */
 >>>.el-table__body-wrapper {
-  overflow: scroll;
+  overflow: auto;
 }
 /* 修改横向滚动条高度和纵向滚动条宽度 */
 >>>.el-table .el-table__body-wrapper::-webkit-scrollbar {