gxd-uni-library-editx 1.0.2 → 1.0.3

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.2",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -274,7 +274,7 @@
274
274
  observer: null,
275
275
 
276
276
  //底部是否插槽模式
277
- isFooterSolt: false,
277
+ isFooterSolt: true,
278
278
 
279
279
  }
280
280
  },
@@ -326,6 +326,8 @@
326
326
  this.uiErrorLogs = this.errorLogs;
327
327
  this.uiLogs = this.logs;
328
328
  this.isLogs = this.$settings.isLogs;
329
+
330
+ this.isFooterSolt = this.$settings['isFooterUseSlot'] || true;
329
331
 
330
332
  //判断是否是打包环境
331
333
  if (process.env.VUE_APP_CUSTOM_ENV) {
@@ -53,6 +53,7 @@
53
53
  import {
54
54
  getParentsStyle,
55
55
  } from '@/utils/xd.base';
56
+ import {mapState} from 'vuex';
56
57
 
57
58
  export default {
58
59
  name: "XdUnit",
@@ -118,6 +119,9 @@
118
119
  }
119
120
 
120
121
  },
122
+ computed: {
123
+ ...mapState(['webUnitIcon'])
124
+ },
121
125
  data() {
122
126
  return {
123
127
  uiColor: '#c00', //金额显示颜色
@@ -160,8 +164,8 @@
160
164
 
161
165
  //项目配置中获取
162
166
  let projectIcon;
163
- if (getApp().globalData.$xd && getApp().globalData.$xd.project['unit_icon']) {
164
- brandIncon = getApp().globalData.$xd.project['unit_icon'];
167
+ if (this.webUnitIcon) {
168
+ projectIcon = this.webUnitIcon;
165
169
  }
166
170
 
167
171