소스 검색

新增组件及页面

liuqiwen 4 년 전
부모
커밋
948d56f6c8
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      dgtis-ui/src/layout/components/Navbar.vue
  2. 0 1
      dgtis-ui/src/layout/components/TagsView/index.vue

+ 1 - 0
dgtis-ui/src/layout/components/Navbar.vue

@@ -96,6 +96,7 @@ export default {
         this.$store.dispatch('LogOut').then(() => {
           // location.href = '/index';
           this.$router.push({ path:'/login'  })
+          this.$store.dispatch('tagsView/delAllViews')
         })
       })
     }

+ 0 - 1
dgtis-ui/src/layout/components/TagsView/index.vue

@@ -70,7 +70,6 @@ export default {
   mounted() {
     this.initTags()
     this.addTags()
-    console.log(this.visitedViews)
   },
   methods: {
     isActive(route) {