odc.xiaohui
2022-12-15 61f9745da5195ee188ea0a529e5f2113e6e930cd
src/views/layout/components/Main/index.vue
@@ -178,10 +178,12 @@
      newPath === '/home' ? this.navFlag = true : this.navFlag = false
    }
  },
  created(){
    this.$route.path === '/home' ? this.navFlag = true : this.navFlag = false
  },
  methods:{
    handleJump(url){
      const baseURL = '/home'
      console.log(url)
      // 路由跳转
      this.$router.push({path:baseURL+url})
    }