Browse Source

车间报工侧边栏,导航栏优化

Lexie 1 year ago
parent
commit
4b4644f8f0
2 changed files with 3 additions and 2 deletions
  1. 2 1
      src/view/layout/aside/historyComponent/history.vue
  2. 1 1
      src/view/layout/index.vue

+ 2 - 1
src/view/layout/aside/historyComponent/history.vue

@@ -72,7 +72,8 @@ const activeValue = ref('')
 const contextMenuVisible = ref(false)
 
 const userStore = useUserStore()
-if(userStore.userInfo.authorityId==6){
+console.log(userStore.userInfo.authorityId)
+if(userStore.userInfo.authorityId==100002){
 	showLayout.value=false	
 }
 const name = (item) => {

+ 1 - 1
src/view/layout/index.vue

@@ -286,7 +286,7 @@ const yourCondition = ref(true)
 
 const userStore = useUserStore()
 console.log(userStore.userInfo.authorityId)
-if(userStore.userInfo.authorityId==6){
+if(userStore.userInfo.authorityId==100002){
 	showLayout.value=false
 	yourCondition.value=false
 }else{