Alan
2021-02-17 1027d5978bb7d332894d75bb652a8e792b98b522
提交清除用户权限
1个文件已修改
5 ■■■■■ 已修改文件
src/layout/components/Navbar.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Navbar.vue
@@ -97,6 +97,11 @@
    clean() {
      db.clear()
      this.$router.push('login')
      this.deleteCaches()
    },
    deleteCaches() {
      db.remove('USER_ROUTER')
      db.remove('PERMISSIONS')
    },
    deleteCache() {
      this.$confirm(this.$t('tips.confirmDeleteCache'), this.$t('common.tips'), {