fix(接口测试): 修复修改表头设置调整字段顺序没立即生效的缺陷
--bug=1011885 --user=王孝刚 【接口测试】接口定义 - CASE 列表,表头设置调整字段顺序没生效 https://www.tapd.cn/55049933/s/1129312
This commit is contained in:
parent
69a0b46f00
commit
816b5f4031
|
@ -1,25 +1,26 @@
|
|||
<template>
|
||||
<div>
|
||||
<el-table
|
||||
border
|
||||
class="test-content adjust-table ms-table"
|
||||
v-loading="tableIsLoading"
|
||||
:data="data"
|
||||
:default-sort="defaultSort"
|
||||
:class="{'ms-select-all-fixed': showSelectAll, 'row-click': rowClickStyle}"
|
||||
:height="screenHeight"
|
||||
:row-key="rowKey"
|
||||
:row-class-name="tableRowClassName"
|
||||
:cell-class-name="addPaddingColClass"
|
||||
:highlight-current-row="highlightCurrentRow"
|
||||
@sort-change="sort"
|
||||
@filter-change="filter"
|
||||
@select-all="handleSelectAll"
|
||||
@select="handleSelect"
|
||||
@header-dragend="headerDragend"
|
||||
@cell-mouse-enter="showPopover"
|
||||
@row-click="handleRowClick"
|
||||
ref="table">
|
||||
border
|
||||
class="test-content adjust-table ms-table"
|
||||
v-loading="tableIsLoading"
|
||||
:data="data"
|
||||
:default-sort="defaultSort"
|
||||
:class="{'ms-select-all-fixed': showSelectAll, 'row-click': rowClickStyle}"
|
||||
:height="screenHeight"
|
||||
:row-key="rowKey"
|
||||
:row-class-name="tableRowClassName"
|
||||
:cell-class-name="addPaddingColClass"
|
||||
:highlight-current-row="highlightCurrentRow"
|
||||
@sort-change="sort"
|
||||
@filter-change="filter"
|
||||
@select-all="handleSelectAll"
|
||||
@select="handleSelect"
|
||||
@header-dragend="headerDragend"
|
||||
@cell-mouse-enter="showPopover"
|
||||
@row-click="handleRowClick"
|
||||
:key="tableActive"
|
||||
ref="table">
|
||||
|
||||
<el-table-column
|
||||
v-if="enableSelection"
|
||||
|
@ -165,7 +166,8 @@ export default {
|
|||
selectRows: new Set(),
|
||||
selectIds: [],
|
||||
// hasBatchTipShow: false,
|
||||
defaultSort: {}
|
||||
defaultSort: {},
|
||||
tableActive: true
|
||||
};
|
||||
},
|
||||
props: {
|
||||
|
@ -493,8 +495,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