fix(接口测试): 修复场景引用列表自定义num显示错误问题
--bug=1019897 --user=赵勇 [项目设置]应用管理-接口测试tab-开启场景ID自定义开关后新建的场景被引用后显示的ID错误 https://www.tapd.cn/55049933/s/1299844
This commit is contained in:
parent
c50e83b3f4
commit
c101ced823
|
@ -164,9 +164,11 @@ export default {
|
||||||
};
|
};
|
||||||
this.selectNodeIds.length = 0;
|
this.selectNodeIds.length = 0;
|
||||||
this.search();
|
this.search();
|
||||||
|
this.getProject();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.getProject();
|
||||||
this.getWsProjects();
|
this.getWsProjects();
|
||||||
this.getVersionOptions();
|
this.getVersionOptions();
|
||||||
},
|
},
|
||||||
|
@ -211,15 +213,12 @@ export default {
|
||||||
this.projectList = res.data;
|
this.projectList = res.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getProject(projectId) {
|
getProject() {
|
||||||
if (projectId) {
|
getProjectConfig(this.projectId, '/SCENARIO_CUSTOM_NUM').then((result) => {
|
||||||
getProjectConfig(projectId, '/SCENARIO_CUSTOM_NUM').then((result) => {
|
if (result.data) {
|
||||||
let data = result.data;
|
this.customNum = result.data.scenarioCustomNum;
|
||||||
if (data) {
|
}
|
||||||
this.customNum = data.scenarioCustomNum;
|
});
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
getConditions() {
|
getConditions() {
|
||||||
this.condition.tableDataIds = Array.from(this.tableData).map((row) => row.id);
|
this.condition.tableDataIds = Array.from(this.tableData).map((row) => row.id);
|
||||||
|
|
Loading…
Reference in New Issue