zhaoke 3 жил өмнө
parent
commit
3d3c819cb4
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      src/layout/index.vue

+ 3 - 3
src/layout/index.vue

@@ -115,9 +115,9 @@ export default {
       sessionStorage.removeItem("tabViews")
       await this.$store.dispatch('app/toggleOutcheck', true)
       this.$store.dispatch('app/toggleOutflag', false)
-      // this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => {
-      //   this.$router.push('/login')
-      // })
+      this.$store.dispatch('tagsView/delAllViews').then(({ visitedViews }) => {
+        this.$router.push('/login')
+      })
     },
     //修改密码
     async editPwd () {