gxd-uni-library-editx 1.0.29 → 1.0.30

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gxd-uni-library-editx",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -515,7 +515,13 @@
515
515
  this.wiewType = this.$configProject.isPreview;
516
516
  this.systemInfoSyn = uni.getSystemInfoSync();
517
517
  this.gWindowHeight = uni.getSystemInfoSync().windowHeight;
518
- this.websiteStatus = this.siteInfo && this.siteInfo.site && this.siteInfo.site.status === 'Y'
518
+
519
+ //判断是否禁用
520
+ if(this.wiewType) {
521
+ this.websiteStatus = true;
522
+ }else {
523
+ this.websiteStatus = !!(this.siteInfo && this.siteInfo.site && this.siteInfo.site.status === 'Y');
524
+ }
519
525
 
520
526
  // #ifdef H5
521
527
  if(!uni.getStorageSync('xd-max-window-height')) {