fix(接口测试): 修复场景版本对比缺少数据问题
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018775 --user=郭雨琦
This commit is contained in:
parent
0944f37ffe
commit
a57e4c9b8f
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<div v-show="showDiff">
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-tag>当前{{ oldData.versionName }}</el-tag>
|
||||
|
@ -476,6 +476,7 @@ export default {
|
|||
newEnableCookieShare: {},
|
||||
newOnSampleError: {},
|
||||
newProjectEnvMap: new Map,
|
||||
showDiff: false,
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -504,7 +505,7 @@ export default {
|
|||
}
|
||||
},
|
||||
getDffScenario() {
|
||||
getScenarioById(this.dffScenarioId + "/" + this.scenarioRefId, response => {
|
||||
getScenarioById(this.dffScenarioId + "/" + this.scenarioRefId).then(response => {
|
||||
getScenarioWithBLOBsById(response.data.id).then(res => {
|
||||
if (res.data) {
|
||||
if (res.data.scenarioDefinition != null) {
|
||||
|
@ -543,6 +544,7 @@ export default {
|
|||
this.dealWithTag(res.data);
|
||||
this.newData = res.data;
|
||||
this.closeExpansion()
|
||||
this.showDiff = true;
|
||||
}
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue