From e1c3d0f9135e9790fe1aa77a0927c29844f78117 Mon Sep 17 00:00:00 2001
From: qinbo <qinbo@shsening.com>
Date: 星期四, 23 十二月 2021 10:06:42 +0800
Subject: [PATCH] add  mask

---
 js/index.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/js/index.js b/js/index.js
index f20c5ef..3e66010 100644
--- a/js/index.js
+++ b/js/index.js
@@ -17,7 +17,7 @@
     //鏈夌埗绾�
     request = $.extend(request, haoutil.system.getRequest(window.top));
   }
-  debugger;
+  // debugger;
   try {
     var jwtstr = request.JWT;
     var strs_ = jwtstr.split('.');
@@ -49,7 +49,7 @@
     window.top.location = mars3d.global_variables.un_authorization_url;
   }
 
-  mars3d.global_variables.userid = request?.userid || 2;
+  // mars3d.global_variables.userid = request?.userid || 2;
 
   var configfile = "config/config.json"; //榛樿鍦板潃
   if (request.config) {
@@ -105,6 +105,8 @@
 
   initLayersByUserid();
 
+  mask_selection(mars3d.global_variables.userid)
+
   //濡傛灉鏈墄yz浼犲弬锛岃繘琛屽畾浣�
   if (haoutil.isutil.isNotNull(request.x) && haoutil.isutil.isNotNull(request.y)) {
     map.setCameraView(request, { duration: 0, isWgs84: true });

--
Gitblit v1.9.1