fix(版本对比): 解决场景更新后再次对比报错问题
--user=郭雨琦 --bug=1013961 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013961
This commit is contained in:
parent
69fa0470fc
commit
2b7e047e6a
frontend/src/business/components/api/automation/scenario
|
@ -1594,7 +1594,9 @@ export default {
|
||||||
this.$store.state.pluginFiles = [];
|
this.$store.state.pluginFiles = [];
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
this.currentScenario.id = response.data.id;
|
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();
|
this.getVersionHistory();
|
||||||
|
|
Loading…
Reference in New Issue