Browse Source

Merge branch 'master' of http://192.168.0.115:3000/4dkankan/laser_v1

jinx 4 years ago
parent
commit
a7f66d1b93
1 changed files with 4 additions and 1 deletions
  1. 4 1
      IndoorViewerAPI.js

+ 4 - 1
IndoorViewerAPI.js

@@ -40359,6 +40359,9 @@ and limitations under the License.
         load: function(t, e, n, i) {
         load: function(t, e, n, i) {
             void 0 !== this.path && (t = this.path + t),
             void 0 !== this.path && (t = this.path + t),
             t = this.manager.resolveURL(t);
             t = this.manager.resolveURL(t);
+			if(t.indexOf('/data/bundle_e67bb877-9674-4549-b6c6-5edf049a8ef5/')>-1){
+				return;
+			}
             var r = this
             var r = this
               , o = _u.get(t);
               , o = _u.get(t);
             if (void 0 !== o)
             if (void 0 !== o)
@@ -152915,7 +152918,7 @@ and limitations under the License.
 								else if(a.indexOf('/poi/icon')>-1){
 								else if(a.indexOf('/poi/icon')>-1){
 									a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/poi/'));
 									a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/poi/'));
 								}
 								}
-                                else if(a.indexOf('/api/site_model/within_polygon')>-1||a.indexOf('/api/pois')>-1||a.indexOf('/api/poi_types')>-1||a.indexOf('/api/poi_type_groups')>-1||a.indexOf('/api/auth/token')>-1){
+                                else if(a.indexOf('/api/datasets')>-1||a.indexOf('/api/site_model/within_polygon')>-1||a.indexOf('/api/pois')>-1||a.indexOf('/api/poi_types')>-1||a.indexOf('/api/poi_type_groups')>-1||a.indexOf('/api/auth/token')>-1){
                                     a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/api/'));
                                     a = '../../indoor/'+sceneNum+a.substring(a.indexOf('/api/'));
                                 }
                                 }
                                 y.open(o, a, !0),
                                 y.open(o, a, !0),