luoyb
2021-02-17 67142aec35a327aa46d24cb750323695e81d4f46
Merge remote-tracking branch 'origin/master'
1个文件已修改
6 ■■■■■ 已修改文件
src/layout/components/Navbar.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Navbar.vue
@@ -97,6 +97,12 @@
    clean() {
      db.clear()
      this.$router.push('login')
      this.deleteCaches()
    },
    deleteCaches() {
      db.remove('USER_ROUTER')
      db.remove('PERMISSIONS')
      location.reload()
    },
    deleteCache() {
      this.$confirm(this.$t('tips.confirmDeleteCache'), this.$t('common.tips'), {