Browse Source

修复在某些状态下,跳转至审核页面不成功的问题

Sanmu8 1 year ago
parent
commit
cb25109b01
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/layout/components/HeaderNotice.vue

+ 2 - 1
src/layout/components/HeaderNotice.vue

@@ -50,8 +50,9 @@ export default {
   },
   methods: {
     goTask(){
+      console.log(this.$route.path);
       if(this.$route.path != '/task/task'){
-        this.$router.push({path:'task/task'})
+        this.$router.push({path:'/task/task'})
       }
     },
     /** 查询待办信息 */