fix: 筛选框

This commit is contained in:
wenyann 2021-04-28 15:17:56 +08:00 committed by 刘瑞斌
parent 387942050b
commit 37e99b3eee
1 changed files with 23 additions and 15 deletions

View File

@ -25,6 +25,7 @@
:select-ids="new Set(Array.from(this.selectRows).map(row => row.id))" @refresh="initTableData"/>
<el-table
:key="updata"
ref="table"
class="test-content adjust-table ms-select-all-fixed"
border
@ -323,6 +324,7 @@ export default {
},
data() {
return {
updata: false,
type: TEST_PLAN_FUNCTION_TEST_CASE,
headerItems: Test_Plan_Function_Test_Case,
screenHeight: 'calc(100vh - 330px)',
@ -413,6 +415,12 @@ export default {
},
selectNodeIds() {
this.search();
},
tableLabel: {
handler(newVal) {
this.updata = !this.updata;
},
deep: true
}
},
mounted() {
@ -430,8 +438,8 @@ export default {
},
methods: {
customHeader() {
//const list = deepClone(this.tableLabel);
this.$refs.headerCustom.open(this.tableLabel);
const list = deepClone(this.tableLabel);
this.$refs.headerCustom.open(list);
},
initTableData() {