Watch invalidation after mpvue forwarding

computed: {

islogin() {
  return this.$store.state.islogin;
}

},
watch: {

islogin(a,b) {
   console.log("")
}

}

after you log in to the api, forwarding page in app.vue, the user clicks this.islogin to false,. When this.islogin changes the watch of the current true page after logging in to api, there is no indication. After Baidu and various operations fail, ask GOD to solve the problem.

Mar.07,2022

check whether the component survives during the login process?

Menu