fix(接口测试): 修复接口路由重复跳转控制台报错 (#10353)

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
metersphere-bot 2022-02-09 18:33:44 +08:00 committed by GitHub
parent 33079e0a1c
commit bcd8950d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -212,7 +212,9 @@ export default {
apiCaseClose() {
this.apiCaseList = [];
this.visible = false;
if (this.$route.fullPath !== this.$route.path) {
this.$router.replace({path: '/api/definition'});
}
this.$emit('refresh');
},
refreshModule() {