fix(接口测试): 修复跳转到覆盖率页面点击切换项目无效的缺陷
--bug=1024924 --user=王孝刚 【接口测试】首页-接口数量统计-点击接口覆盖率跳转到页面a-点击切换项目无效 https://www.tapd.cn/55049933/s/1356550
This commit is contained in:
parent
2a1bf7c906
commit
a68ca40dc0
|
@ -193,6 +193,17 @@ export default {
|
|||
// 去掉末尾 &
|
||||
return path.substring(0, path.length - 1);
|
||||
}
|
||||
if (path.startsWith('/api/definition')) {
|
||||
this.$route.params.dataSelectRange = '';
|
||||
this.$route.params.projectId = getCurrentProjectID();
|
||||
return '/api/definition';
|
||||
}
|
||||
if (path.startsWith('/api/automation')) {
|
||||
this.$route.params.projectId = getCurrentProjectID();
|
||||
this.$route.params.dataSelectRange = '';
|
||||
return '/api/automation';
|
||||
}
|
||||
|
||||
return path;
|
||||
},
|
||||
change(projectId) {
|
||||
|
|
Loading…
Reference in New Issue