Ver código fonte

新增组件及页面

liuqiwen 4 anos atrás
pai
commit
948d56f6c8

+ 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) {