This commit is contained in:
姚宇浩 2024-11-12 14:31:20 +08:00
parent 559a343ad7
commit cb9ea999ab
2 changed files with 6 additions and 0 deletions

View File

@ -162,10 +162,12 @@ router.beforeEach((to, form, next) => {
// next();
// }
// console.log(55555, to.fullPath);
//没有token直接放行
if (!token) {
next();
} else {
if (to.fullPath == '/home/index/map') {
//当未重新登录时menu为空或没有权限标识无法访问
if (!menu || menu.indexOf('ggfw:ystp') == -1) {
ElMessage.error("您无权限访问该模块,若有需求请联系大数据中心!");
} else {

View File

@ -3455,6 +3455,10 @@ const createZyys = (polygon, indexx, name, tooltip,img_width) => {
break;
case "残疾人之家":
break;
case "便民服务中心":
break;
case "残疾人之家":
break;
case "小区物业":
console.log(polygon);
open_detail_zyys_xqwy(polygon.ssjd, polygon.sssq);