@steedos/standard-ui 2.5.13-beta.13 → 2.5.13-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,10 +60,13 @@
60
60
  if(platform.hostname){
61
61
  if (!_.includes(platform.hostname.split(','), window.location.hostname)) {
62
62
  setTimeout(function(){
63
- document.getElementsByClassName("steedos-banners")[0].style.display = 'flex';
64
- document.getElementsByClassName("steedos-banners")[0].style.justifyContent = 'center';
63
+ const banners = document.getElementsByClassName("steedos-banners")[0];
64
+ if(banners){
65
+ banners.style.display = 'flex';
66
+ banners.style.justifyContent = 'center';
67
+ }
65
68
  console.error(`环境变量ROOT_URL中的hostname(${window.location.hostname})与许可证中设置的不一致,请确认。`)
66
- }, 1000)
69
+ }, 3000)
67
70
  }
68
71
  }
69
72
  } catch (error) {
@@ -145,4 +148,8 @@
145
148
  })
146
149
  }
147
150
 
151
+ if(ROOT_URL){
152
+ loadJs(`${ROOT_URL}/jquery.cordova.js`)
153
+ }
154
+
148
155
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-ui",
3
- "version": "2.5.13-beta.13",
3
+ "version": "2.5.13-beta.14",
4
4
  "main": "package.service.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -12,5 +12,5 @@
12
12
  "description": "steedos package",
13
13
  "repository": {},
14
14
  "license": "MIT",
15
- "gitHead": "3890ba2e6c481abce7d05c8f45052903987e7c36"
15
+ "gitHead": "47b65f0d3690655af256cf20590af6c9647983de"
16
16
  }
@@ -0,0 +1,2 @@
1
+ delete window.jQuery;
2
+ delete window.$;