Commit b84a599f by zhaochengxiang

bug fix

parent d3df9356
......@@ -432,7 +432,6 @@ export function checkMenuAdmit(menuinfo) {
}
let queryurl = `/view/${menuinfo}`
let realurl = `/center-home/menu/${menuinfo}`
let menumessage = menu.mapurl[queryurl]
if (menumessage) {
......@@ -450,19 +449,19 @@ export function checkMenuAdmit(menuinfo) {
if((menumessage.bit&totalbit)===menumessage.bit){
return true
}else{
showInfoNotifaction('提示', `暂无访问路由${realurl}的权限`);
showInfoNotifaction('提示', `暂无访问路由${menumessage.name}的权限`);
return false
}
}else{
showInfoNotifaction('提示', `暂无访问路由${realurl}的权限`);
showInfoNotifaction('提示', `暂无访问路由${menumessage.name}的权限`);
return false;
}
} catch (error) {
showInfoNotifaction('提示', `暂无访问路由${realurl}的权限`);
showInfoNotifaction('提示', `暂无访问路由$${menumessage.name}的权限`);
return false;
}
} else {
showInfoNotifaction('提示', `暂无访问路由${realurl}的权限`);
showInfoNotifaction('提示', `暂无访问路由${menumessage.name}的权限`);
return false
}
}
......
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