fix: 尝试修复表格固定列之后错乱的问题
This commit is contained in:
parent
fd34e063ff
commit
c5e977b091
File diff suppressed because it is too large
Load Diff
|
@ -353,7 +353,10 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (this.$refs.caseTable) {
|
if (this.$refs.caseTable) {
|
||||||
setTimeout(this.$refs.caseTable.doLayout, 200)
|
setTimeout(() => {
|
||||||
|
this.$refs.caseTable.doLayout();
|
||||||
|
this.result.loading = false;
|
||||||
|
}, 500)
|
||||||
}
|
}
|
||||||
this.$nextTick(function(){
|
this.$nextTick(function(){
|
||||||
this.checkTableRowIsSelect();
|
this.checkTableRowIsSelect();
|
||||||
|
|
|
@ -465,7 +465,10 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if (this.$refs.apiDefinitionTable) {
|
if (this.$refs.apiDefinitionTable) {
|
||||||
setTimeout(this.$refs.apiDefinitionTable.doLayout, 200)
|
setTimeout(() => {
|
||||||
|
this.$refs.apiDefinitionTable.doLayout();
|
||||||
|
this.result.loading = false;
|
||||||
|
}, 500)
|
||||||
}
|
}
|
||||||
// nexttick:表格加载完成之后触发。判断是否需要勾选行
|
// nexttick:表格加载完成之后触发。判断是否需要勾选行
|
||||||
this.$nextTick(function(){
|
this.$nextTick(function(){
|
||||||
|
|
|
@ -393,7 +393,10 @@ export default {
|
||||||
item.tags = JSON.parse(item.tags);
|
item.tags = JSON.parse(item.tags);
|
||||||
})
|
})
|
||||||
if (this.$refs.table) {
|
if (this.$refs.table) {
|
||||||
setTimeout(this.$refs.table.doLayout, 200)
|
setTimeout(() => {
|
||||||
|
this.$refs.table.doLayout();
|
||||||
|
this.result.loading = false;
|
||||||
|
}, 500)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$nextTick(function(){
|
this.$nextTick(function(){
|
||||||
|
|
|
@ -476,7 +476,10 @@ export default {
|
||||||
}
|
}
|
||||||
this.selectRows.clear();
|
this.selectRows.clear();
|
||||||
if (this.$refs.table) {
|
if (this.$refs.table) {
|
||||||
setTimeout(this.$refs.table.doLayout, 200)
|
setTimeout(() => {
|
||||||
|
this.$refs.table.doLayout();
|
||||||
|
this.result.loading = false;
|
||||||
|
}, 500)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue