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.search();
|
||||
this.getProject();
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.getProject();
|
||||
this.getWsProjects();
|
||||
this.getVersionOptions();
|
||||
},
|
||||
|
@ -211,15 +213,12 @@ export default {
|
|||
this.projectList = res.data;
|
||||
});
|
||||
},
|
||||
getProject(projectId) {
|
||||
if (projectId) {
|
||||
getProjectConfig(projectId, '/SCENARIO_CUSTOM_NUM').then((result) => {
|
||||
let data = result.data;
|
||||
if (data) {
|
||||
this.customNum = data.scenarioCustomNum;
|
||||
getProject() {
|
||||
getProjectConfig(this.projectId, '/SCENARIO_CUSTOM_NUM').then((result) => {
|
||||
if (result.data) {
|
||||
this.customNum = result.data.scenarioCustomNum;
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
getConditions() {
|
||||
this.condition.tableDataIds = Array.from(this.tableData).map((row) => row.id);
|
||||
|
|
Loading…
Reference in New Issue