This commit is contained in:
parent
559a343ad7
commit
cb9ea999ab
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue