fix(接口测试): 修复接口路由重复跳转控制台报错 (#10353)
Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
33079e0a1c
commit
bcd8950d40
|
@ -212,7 +212,9 @@ export default {
|
|||
apiCaseClose() {
|
||||
this.apiCaseList = [];
|
||||
this.visible = false;
|
||||
this.$router.replace({path: '/api/definition'});
|
||||
if (this.$route.fullPath !== this.$route.path) {
|
||||
this.$router.replace({path: '/api/definition'});
|
||||
}
|
||||
this.$emit('refresh');
|
||||
},
|
||||
refreshModule() {
|
||||
|
|
Loading…
Reference in New Issue