Why does the route jump not respond when vue listens to $route?

problem description

Route jump is not overheard

the environmental background of the problems and what methods you have tried

   beforeRouteEnter (to, from, next) {
      console.log("ooo")

  },
  "$route" :{    //
    handler:function(to,from){
      console.log(to,from)
      // if(to.path == "/"){
      //   /**
      //    * $storeStore
      //    * dispatch  actions 
      //    */
      //   this.$store.dispatch("showTabBar");
      // }else{
      //   this.$store.dispatch("hideTabBar");
      // }
    },
    deep:true
  },
  "$route"(to, from) {
      console.log(to,from)
    console.log("ooo")
    
  },

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Feb.15,2022
Menu