diff --git a/report-ui/src/views/layout/components/Navbar.vue b/report-ui/src/views/layout/components/Navbar.vue
index 82f0462a..37182b69 100644
--- a/report-ui/src/views/layout/components/Navbar.vue
+++ b/report-ui/src/views/layout/components/Navbar.vue
@@ -10,7 +10,7 @@
trigger="click">
- {{ operator }}
+ {{ operatorText }}
{
- delItem('token')
sessionStorage.clear()
localStorage.clear()
this.$router.push('/login')
@@ -126,7 +125,6 @@ export default {
this.$message.success('修改密码成功,请重新登录')
sessionStorage.clear()
localStorage.clear()
- delItem('token')
this.$router.push('/login')
}
})
@@ -136,7 +134,7 @@ export default {
})
},
helpCenter () {
- let helpCategory = JSON.parse(localStorage.getItem('helpCategory'))
+ let helpCategory = getStorageItem('helpCategory')
this.$router.push({
path: '/helpCenList/list',
query: {