Commit b8954b3b authored by zhengke's avatar zhengke

屏蔽logo设置

parent a055c568
...@@ -62,9 +62,10 @@ if(menus.value.length==0){ ...@@ -62,9 +62,10 @@ if(menus.value.length==0){
} }
watch(() => router.currentRoute.value.path, (toPath) => { watch(() => router.currentRoute.value.path, (toPath) => {
if(userInfo.value.isp){ // if(userInfo.value.isp){
// menus.value = useMenu.getUserMenu.filter(x=> {return x.url!='/a/l'})
// } else menus.value = useMenu.getTeamMenu
menus.value = useMenu.getUserMenu.filter(x=> {return x.url!='/a/l'}) menus.value = useMenu.getUserMenu.filter(x=> {return x.url!='/a/l'})
} else menus.value = useMenu.getTeamMenu
if(!menus.value) return if(!menus.value) return
menus.value.forEach((x,i)=>{ menus.value.forEach((x,i)=>{
if(x.url==router.currentRoute.value.path){ if(x.url==router.currentRoute.value.path){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment