manager/src/views/member/list/memberDetail.vue
@@ -1130,6 +1130,16 @@ }, }, 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();