zxl
8 天以前 ea813913d98599b47ccc106a2063dfc7e1b55268
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();