Commit 5de5ef01 authored by zhengke's avatar zhengke

logo 屏蔽

parent dc7f6936
......@@ -29,7 +29,7 @@ const menus:{menu:Menu,owner:MenuOwner}[] = [
// {menu:{name:'数据统计',icon:'IconDashBoard',url:'/a/d'},owner:'A'},
{menu:{name:'水印设置',icon:'IconTag',url:'/a/w'},owner:'A'},
{menu:{name:'云盘空间',icon:'IconCloudStorage',url:'/a/c'},owner:'A'},
{menu:{name:'LOGO设置',icon:'IconPicture',url:'/a/l'},owner:'A'},
// {menu:{name:'LOGO设置',icon:'IconPicture',url:'/a/l'},owner:'A'},
{menu:{name:'订单/发票',icon:'IconCurrency',url:'/a/order'},owner:'E'},
{
menu:{
......
......@@ -62,10 +62,9 @@ if(menus.value.length==0){
}
watch(() => router.currentRoute.value.path, (toPath) => {
// if(userInfo.value.isp){
// menus.value = useMenu.getTeamMenu.filter(x=> {return x.url!='/a/l'})
// } else menus.value = useMenu.getTeamMenu
menus.value = useMenu.getTeamMenu
if(userInfo.value.isp){
menus.value = useMenu.getTeamMenu.filter(x=> {return x.url!='/a/l'})
} else menus.value = useMenu.getTeamMenu
if(!menus.value) return
menus.value.forEach((x,i)=>{
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