fix: 去除无用代码及组件

This commit is contained in:
@changcode
2022-12-08 10:13:45 +08:00
parent c6a9adfc4f
commit f5aeef0a1a
7 changed files with 1 additions and 437 deletions

View File

@@ -421,7 +421,6 @@ export default {
logout () {
sessionStorage.removeItem(storageKey.tokenExpireCurrentPath)
localStorage.removeItem(storageKey.token)
localStorage.removeItem(storageKey.currentTab)
get(api.logout)
},
refreshLang () {
@@ -649,10 +648,6 @@ export default {
})
}
})
// 清除administration的tab列表保存状态currentTab
if (route !== '/administration') {
localStorage.removeItem(storageKey.currentTab)
}
this.changeUrlTabState()
if (opeType === 2 || opeType === 0) { // 二级菜单 或主菜单
// 如果有四级菜单则将四级菜单对应tab的checked设置为true:根据columnName和columnValue 或 url判断不准确