eoss-mobiles 0.2.78 → 0.2.80

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/lib/table.js CHANGED
@@ -2244,6 +2244,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
2244
2244
  }
2245
2245
  });
2246
2246
  },
2247
+ clickOpenEnlarge: function clickOpenEnlarge() {
2248
+ this.isEnlarge = true;
2249
+ },
2247
2250
  currentChange: function currentChange(res) {
2248
2251
  var _this7 = this;
2249
2252
 
@@ -2742,7 +2745,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
2742
2745
  },
2743
2746
  on: {
2744
2747
  click: function click() {
2745
- _this14.isEnlarge = true;
2748
+ _this14.clickOpenEnlarge();
2746
2749
  }
2747
2750
  }
2748
2751
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-mobiles",
3
- "version": "0.2.78",
3
+ "version": "0.2.80",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -144,14 +144,17 @@ export default {
144
144
  let formData = new FormData();
145
145
  if (this.form.isImageOpinion == 1) {
146
146
  formData.append('file', this.file);
147
- }
148
- formData.append('pendingId', this.pendingId);
149
- this.form.userId = this.userId || $.getStorage('userId');
150
- for (let key in this.form) {
151
- if (this.form[key] !== '' && this.form[key] !== undefined) {
152
- formData.append(key, this.form[key]);
147
+ formData.append('pendingId', this.pendingId);
148
+ this.form.userId = this.userId || $.getStorage('userId');
149
+ for (let key in this.form) {
150
+ if (this.form[key] !== '' && this.form[key] !== undefined) {
151
+ formData.append(key, this.form[key]);
152
+ }
153
153
  }
154
+ } else {
155
+ this.form.pendingId = this.pendingId;
154
156
  }
157
+
155
158
  this.$toast.loading({
156
159
  message: '加载中...',
157
160
  forbidClick: true,
@@ -317,6 +317,9 @@ export default {
317
317
  }
318
318
  });
319
319
  },
320
+ clickOpenEnlarge(){
321
+ this.isEnlarge = true;
322
+ },
320
323
  currentChange(res) {
321
324
  this.pageChange = true;
322
325
  setTimeout(() => {
@@ -882,7 +885,7 @@ export default {
882
885
  },
883
886
  on: {
884
887
  click: () => {
885
- this.isEnlarge = true;
888
+ this.clickOpenEnlarge()
886
889
  }
887
890
  }
888
891
  })
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ if (typeof window !== 'undefined' && window.Vue) {
105
105
  }
106
106
 
107
107
  export default {
108
- version: '0.2.78',
108
+ version: '0.2.80',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,