mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 04:28:51 +08:00
fix(接口测试): 修复跳转到覆盖率页面点击切换项目无效的缺陷
--bug=1024924 --user=王孝刚 【接口测试】首页-接口数量统计-点击接口覆盖率跳转到页面a-点击切换项目无效 https://www.tapd.cn/55049933/s/1356550
This commit is contained in:
parent
176eea9102
commit
3a7390690e
@ -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
Block a user