|
@@ -558,3 +558,11 @@ window.addEventListener('message', function (e) {
|
|
|
type: "GET",
|
|
|
url:'/uploads/wechat/163607/file/杨浦16/park.json',
|
|
|
dataType: "json",
|
|
|
+ success: function (data) {
|
|
|
+ for(let i = 0; i < data.array.length; i++){
|
|
|
+ if(company_code === data.array[i].id){
|
|
|
+ campusUrl = data.array[i]
|
|
|
+ _this.changeScene(campusUrl);
|
|
|
+ _this.createWidgets();
|
|
|
+ }
|
|
|
+ }
|