refactor(接口测试): 修复修改表头设置调整字段顺序没立即生效的缺陷 (#12276)
--bug=1011885 --user=王孝刚 【接口测试】接口定义 - CASE 列表,表头设置调整字段顺序没生效 https://www.tapd.cn/55049933/s/1129312 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
707a1c295e
commit
b51bc1e444
|
@ -19,6 +19,7 @@
|
|||
@header-dragend="headerDragend"
|
||||
@cell-mouse-enter="showPopover"
|
||||
@row-click="handleRowClick"
|
||||
:key="tableActive"
|
||||
ref="table">
|
||||
|
||||
<el-table-column
|
||||
|
@ -165,7 +166,8 @@ export default {
|
|||
selectRows: new Set(),
|
||||
selectIds: [],
|
||||
// hasBatchTipShow: false,
|
||||
defaultSort: {}
|
||||
defaultSort: {},
|
||||
tableActive: true
|
||||
};
|
||||
},
|
||||
props: {
|
||||
|
@ -479,8 +481,10 @@ export default {
|
|||
this.$refs.table.toggleRowSelection();
|
||||
},
|
||||
reloadTable() {
|
||||
this.tableActive = false;
|
||||
this.$nextTick(() => {
|
||||
this.doLayout();
|
||||
this.tableActive = true;
|
||||
});
|
||||
},
|
||||
addPaddingColClass({column}) {
|
||||
|
|
Loading…
Reference in New Issue