@@ -3,7 +3,7 @@
<!-- 数据表格 -->
<ele-pro-table
ref="table"
- :columns="newColumns"
+ :columns="columns"
:datasource="datasource"
:need-page="true"
:selection.sync="selection"
@@ -680,7 +680,7 @@
}
],
- newColumns: [],
+ // newColumns: [],
// 表格选中数据
selection: [],
// 是否显示编辑弹窗
@@ -861,7 +861,7 @@
};
});
- this.newColumns = [...this.columns, ...newRes, ...privateColumn];
+ this.columns = [...this.columns, ...newRes, ...privateColumn];
this.getTabColumns();
this.$forceUpdate();