This commit is contained in:
姚宇浩 2024-11-12 09:06:38 +08:00
parent cc12cfdde5
commit 36a6a97f35
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ const to = (url) => {
}); });
if (url == "/home/index/map") { if (url == "/home/index/map") {
let menu = tools.data.get("menu"); let menu = tools.data.get("menu");
if(menu && menu.indexOf('ggfw:ystp') != -1){ if(!menu || menu.indexOf('ggfw:ystp') == -1){
}else{
data.nowTab = url; data.nowTab = url;
data.menushow = false; data.menushow = false;
} }