fix(接口测试): 修复接口路由重复跳转控制台报错 (#10354)
Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
fe7d3b1d48
commit
6a2b00fe58
|
@ -209,7 +209,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