fix: 尝试修复表格固定列之后错乱的问题

This commit is contained in:
Captain.B 2021-03-25 16:57:15 +08:00
parent 8328cab574
commit 1c773f83de
5 changed files with 5 additions and 5 deletions

View File

@ -433,7 +433,7 @@
this.result.loading = false;
this.unSelection = data.listObject.map(s => s.id);
if (this.$refs.scenarioTable) {
this.$refs.scenarioTable.doLayout()
setTimeout(this.$refs.scenarioTable.doLayout,500)
}
});
}

View File

@ -340,7 +340,7 @@ export default {
}
})
if (this.$refs.caseTable) {
this.$refs.caseTable.doLayout()
setTimeout(this.$refs.caseTable.doLayout,500)
}
});
}

View File

@ -464,7 +464,7 @@
}
})
if (this.$refs.apiDefinitionTable) {
this.$refs.apiDefinitionTable.doLayout()
setTimeout(this.$refs.apiDefinitionTable.doLayout, 500)
}
});

View File

@ -399,7 +399,7 @@ export default {
item.tags = JSON.parse(item.tags);
})
if (this.$refs.table) {
this.$refs.table.doLayout()
setTimeout(this.$refs.table.doLayout,500)
}
});

View File

@ -477,7 +477,7 @@ export default {
}
this.selectRows.clear();
if (this.$refs.table) {
this.$refs.table.doLayout()
setTimeout(this.$refs.table.doLayout,500)
}
});
}