fix(版本对比): 解决场景更新后再次对比报错问题
--user=郭雨琦 --bug=1013961 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013961
This commit is contained in:
parent
508cff83c6
commit
cb0a19e774
|
@ -1594,7 +1594,9 @@ export default {
|
|||
this.$store.state.pluginFiles = [];
|
||||
if (response.data) {
|
||||
this.currentScenario.id = response.data.id;
|
||||
this.currentScenario.refId = response.data.refId;
|
||||
if (!this.currentScenario.refId && response.data.refId) {
|
||||
this.currentScenario.refId = response.data.refId;
|
||||
}
|
||||
}
|
||||
// 保存成功后刷新历史版本
|
||||
this.getVersionHistory();
|
||||
|
|
Loading…
Reference in New Issue