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

This commit is contained in:
Captain.B 2021-03-26 09:52:03 +08:00
parent 6257fce4a9
commit 767faf9dfe
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) {
setTimeout(this.$refs.scenarioTable.doLayout,500)
setTimeout(this.$refs.scenarioTable.doLayout, 200)
}
});
}

View File

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

View File

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

View File

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

View File

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