manager/src/views/member/list/memberDetail.vue
@@ -1129,17 +1129,6 @@ } }, }, watch: { $route (to, from) { // 正确打印路由对象的方法 if(from.fullPath === "/member" && to.fullPath.includes("/orderList")){ this.id = this.$route.query.id; this.init(); } }, }, mounted() { this.id = this.$route.query.id; this.init();