fix(版本对比): 解决场景更新后再次对比报错问题

--user=郭雨琦
--bug=1013961
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013961
This commit is contained in:
guoyuqi 2022-06-10 11:45:05 +08:00 committed by f2c-ci-robot[bot]
parent 508cff83c6
commit cb0a19e774
1 changed files with 3 additions and 1 deletions

View File

@ -1594,8 +1594,10 @@ export default {
this.$store.state.pluginFiles = [];
if (response.data) {
this.currentScenario.id = response.data.id;
if (!this.currentScenario.refId && response.data.refId) {
this.currentScenario.refId = response.data.refId;
}
}
//
this.getVersionHistory();
if (this.currentScenario.tags instanceof String) {