eoss-ui 0.7.37 → 0.7.39

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.
Files changed (51) hide show
  1. package/lib/button-group.js +1 -3
  2. package/lib/button.js +1 -3
  3. package/lib/calogin.js +1 -3
  4. package/lib/checkbox-group.js +1 -3
  5. package/lib/data-table-form.js +1 -3
  6. package/lib/data-table.js +1 -3
  7. package/lib/date-picker.js +1 -3
  8. package/lib/dialog.js +1 -3
  9. package/lib/eoss-ui.common.js +34 -46
  10. package/lib/flow-group.js +1 -3
  11. package/lib/flow-list.js +1 -3
  12. package/lib/flow.js +1 -3
  13. package/lib/form.js +1 -3
  14. package/lib/handle-user.js +1 -3
  15. package/lib/handler.js +1 -3
  16. package/lib/icon.js +1 -3
  17. package/lib/index.js +1 -1
  18. package/lib/input-number.js +1 -3
  19. package/lib/input.js +1 -3
  20. package/lib/login.js +1 -3
  21. package/lib/main.js +28 -40
  22. package/lib/nav.js +1 -3
  23. package/lib/page.js +1 -3
  24. package/lib/pagination.js +1 -3
  25. package/lib/player.js +1 -3
  26. package/lib/qr-code.js +1 -3
  27. package/lib/radio-group.js +1 -3
  28. package/lib/retrial-auth.js +1 -3
  29. package/lib/select-ganged.js +1 -3
  30. package/lib/select.js +1 -3
  31. package/lib/selector-panel.js +1 -3
  32. package/lib/selector.js +1 -3
  33. package/lib/sizer.js +1 -3
  34. package/lib/steps.js +1 -3
  35. package/lib/switch.js +1 -3
  36. package/lib/table-form.js +1 -3
  37. package/lib/tabs.js +1 -3
  38. package/lib/tips.js +1 -3
  39. package/lib/tree-group.js +1 -3
  40. package/lib/tree.js +1 -3
  41. package/lib/upload.js +1 -3
  42. package/lib/utils/util.js +1 -3
  43. package/lib/wujie.js +1 -3
  44. package/lib/wxlogin.js +1 -3
  45. package/package.json +1 -1
  46. package/packages/main/src/main.vue +0 -1
  47. package/packages/main/src/simplicity/index.vue +1 -1
  48. package/packages/main/src/simplicity/message.vue +1 -5
  49. package/packages/main/src/simplicity/notice.vue +1 -4
  50. package/src/index.js +1 -1
  51. package/src/utils/util.js +1 -3
package/lib/wujie.js CHANGED
@@ -693,8 +693,6 @@ var busEmit = function busEmit(that, _ref3) {
693
693
  }
694
694
  return;
695
695
  }
696
- console.log('busEmit', method, args);
697
-
698
696
  var _bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
699
697
  _bus && (Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args));
700
698
  }
@@ -1055,7 +1053,7 @@ var esDecode = function esDecode(value) {
1055
1053
  arr[i] = cat1 * kleng * kleng + cat2 * kleng + cat3;
1056
1054
  }
1057
1055
  // eslint-disable-next-line no-eval
1058
- result = eval('String.fromCharCode(' + arr.join(',') + ')');
1056
+ result = String.fromCharCode.apply(null, arr);
1059
1057
  return result;
1060
1058
  };
1061
1059
 
package/lib/wxlogin.js CHANGED
@@ -693,8 +693,6 @@ var busEmit = function busEmit(that, _ref3) {
693
693
  }
694
694
  return;
695
695
  }
696
- console.log('busEmit', method, args);
697
-
698
696
  var _bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
699
697
  _bus && (Array.isArray(args) ? _bus.$emit.apply(_bus, [method].concat(args)) : _bus.$emit(method, args));
700
698
  }
@@ -1055,7 +1053,7 @@ var esDecode = function esDecode(value) {
1055
1053
  arr[i] = cat1 * kleng * kleng + cat2 * kleng + cat3;
1056
1054
  }
1057
1055
  // eslint-disable-next-line no-eval
1058
- result = eval('String.fromCharCode(' + arr.join(',') + ')');
1056
+ result = String.fromCharCode.apply(null, arr);
1059
1057
  return result;
1060
1058
  };
1061
1059
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.7.37",
3
+ "version": "0.7.39",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -439,7 +439,6 @@ export default {
439
439
  this.dialogs.splice(dialog.index, 1);
440
440
  }
441
441
  }
442
- callBack && callBack();
443
442
  refresh && this.$refs.main.handleRefresh(refresh);
444
443
  jumpMenu &&
445
444
  (Array.isArray(jumpMenu)
@@ -1821,7 +1821,7 @@ export default {
1821
1821
  !iframe && (iframe = document.getElementById(this.iframeId));
1822
1822
  iframe &&
1823
1823
  iframe.contentWindow.postMessage(
1824
- { method: 'refresh' },
1824
+ { method: 'pageData' },
1825
1825
  source || '*'
1826
1826
  );
1827
1827
  } else {
@@ -233,11 +233,7 @@ export default {
233
233
  url: handlerUrl,
234
234
  title: title,
235
235
  id: id,
236
- ...jsonData,
237
- callBack: () => {
238
- this.count -= 1;
239
- this.msgs.splice(index, 1);
240
- }
236
+ ...jsonData
241
237
  }
242
238
  });
243
239
  return;
@@ -170,10 +170,7 @@ export default {
170
170
  url: handlerUrl,
171
171
  title: title,
172
172
  id: id,
173
- ...jsonData,
174
- callBack: () => {
175
- this.index = index;
176
- }
173
+ ...jsonData
177
174
  }
178
175
  });
179
176
  return;
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ if (typeof window !== 'undefined' && window.Vue) {
125
125
  }
126
126
 
127
127
  export default {
128
- version: '0.7.37',
128
+ version: '0.7.39',
129
129
  install,
130
130
  Button,
131
131
  ButtonGroup,
package/src/utils/util.js CHANGED
@@ -581,8 +581,6 @@ const busEmit = function (that, { method, args, opener }) {
581
581
  }
582
582
  return;
583
583
  }
584
- console.log('busEmit', method, args);
585
-
586
584
  const bus = that ? that.bus || that.$root.Bus || that.$root.$bus : null;
587
585
  bus && (Array.isArray(args) ? bus.$emit(method, ...args) : bus.$emit(method, args));
588
586
  }
@@ -964,7 +962,7 @@ const esDecode = function (value) {
964
962
  arr[i] = cat1 * kleng * kleng + cat2 * kleng + cat3;
965
963
  }
966
964
  // eslint-disable-next-line no-eval
967
- result = eval('String.fromCharCode(' + arr.join(',') + ')');
965
+ result = String.fromCharCode.apply(null, arr);
968
966
  return result;
969
967
  };
970
968