Преглед изворни кода

feature(订单管理系统):
1、项目管理.this.$refs.table.doLayout() 修改

niezch пре 2 година
родитељ
комит
83440d2934
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/proj/business/index.vue

+ 1 - 1
src/views/proj/business/index.vue

@@ -432,7 +432,7 @@
     watch: {
       showColumns: function () {
         this.tableKey++
-        this.$nextTick(() => this.$refs.table.doLayout())
+        this.$nextTick(() => this.$refs.tableTool.doLayout())
       },
       activeName(newValue) {
         this.tableType = 'businessTable' + this.selectDictLabel(this.nboTypeOptions, newValue)