admin-web/src/components/myTable/myTableV2.vue
@@ -252,6 +252,7 @@ myTable: { url: '', params: {}, autoLoad: true, border: false, showIndex: true, // 是否显示序号 expand: true, // 是否显示详情数据 @@ -348,9 +349,11 @@ total: 0 }) } this.$nextTick(() => { this.search({ pageNum: 1 }) }) if (this.myTable.autoLoad) { this.$nextTick(() => { this.search({pageNum: 1}) }) } this.myTable.columns.forEach((column, idx) => { if (!column.hidden) { this.checkColumns.push(idx)