eoss-ui 0.7.68 → 0.7.69

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/main.js CHANGED
@@ -5342,8 +5342,8 @@ render._withStripped = true
5342
5342
  // EXTERNAL MODULE: ./src/config/image.js
5343
5343
  var config_image = __webpack_require__(19);
5344
5344
 
5345
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=7679eaf2&scoped=true&
5346
- var simplicityvue_type_template_id_7679eaf2_scoped_true_render = function () {
5345
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=429559f0&scoped=true&
5346
+ var simplicityvue_type_template_id_429559f0_scoped_true_render = function () {
5347
5347
  var _vm = this
5348
5348
  var _h = _vm.$createElement
5349
5349
  var _c = _vm._self._c || _h
@@ -6107,11 +6107,11 @@ var simplicityvue_type_template_id_7679eaf2_scoped_true_render = function () {
6107
6107
  ),
6108
6108
  ])
6109
6109
  }
6110
- var simplicityvue_type_template_id_7679eaf2_scoped_true_staticRenderFns = []
6111
- simplicityvue_type_template_id_7679eaf2_scoped_true_render._withStripped = true
6110
+ var simplicityvue_type_template_id_429559f0_scoped_true_staticRenderFns = []
6111
+ simplicityvue_type_template_id_429559f0_scoped_true_render._withStripped = true
6112
6112
 
6113
6113
 
6114
- // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7679eaf2&scoped=true&
6114
+ // CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=429559f0&scoped=true&
6115
6115
 
6116
6116
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=e722b45c&scoped=true&
6117
6117
  var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
@@ -13120,13 +13120,17 @@ var events = [function (tabs, index, that) {
13120
13120
  var num = 0;
13121
13121
  obj.forEach(function (item) {
13122
13122
  var n = _this4.setTips(item);
13123
- num += n ? parseInt(n) : 0;
13124
- _this4.$set(obj, 'tips', num);
13125
- _this4.setDot(_this4.userApps, item.appCode, num);
13126
- _this4.setDot(_this4.applications, item.appCode, num);
13127
- _this4.setDot(_this4.business, item.appCode, num);
13128
- _this4.setDot(_this4.systems, item.appCode, num);
13123
+ n = n ? parseInt(n) : 0;
13124
+ num += n;
13125
+ if (n) {
13126
+ _this4.$set(obj, 'tips', n);
13127
+ _this4.setDot(_this4.userApps, item.appCode, n);
13128
+ _this4.setDot(_this4.applications, item.appCode, n);
13129
+ _this4.setDot(_this4.business, item.appCode, n);
13130
+ _this4.setDot(_this4.systems, item.appCode, n);
13131
+ }
13129
13132
  });
13133
+ return num;
13130
13134
  } else {
13131
13135
  if (obj.children && obj.children.length || obj.fourthTabs && obj.fourthTabs.length) {
13132
13136
  var _num = 0;
@@ -13956,11 +13960,11 @@ var events = [function (tabs, index, that) {
13956
13960
 
13957
13961
  var simplicity_component = Object(componentNormalizer["a" /* default */])(
13958
13962
  src_simplicityvue_type_script_lang_js_,
13959
- simplicityvue_type_template_id_7679eaf2_scoped_true_render,
13960
- simplicityvue_type_template_id_7679eaf2_scoped_true_staticRenderFns,
13963
+ simplicityvue_type_template_id_429559f0_scoped_true_render,
13964
+ simplicityvue_type_template_id_429559f0_scoped_true_staticRenderFns,
13961
13965
  false,
13962
13966
  null,
13963
- "7679eaf2",
13967
+ "429559f0",
13964
13968
  null
13965
13969
 
13966
13970
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-ui",
3
- "version": "0.7.68",
3
+ "version": "0.7.69",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -470,12 +470,7 @@ export default {
470
470
  type: Boolean,
471
471
  default: true
472
472
  },
473
- otherValidate: {
474
- type: Function,
475
- default: () => {
476
- return false;
477
- }
478
- },
473
+ otherValidate: Function,
479
474
  flow: Object,
480
475
  events: Object,
481
476
  recordid: String,
@@ -1454,13 +1454,17 @@ export default {
1454
1454
  let num = 0;
1455
1455
  obj.forEach((item) => {
1456
1456
  let n = this.setTips(item);
1457
- num += n ? parseInt(n) : 0;
1458
- this.$set(obj, 'tips', num);
1459
- this.setDot(this.userApps, item.appCode, num);
1460
- this.setDot(this.applications, item.appCode, num);
1461
- this.setDot(this.business, item.appCode, num);
1462
- this.setDot(this.systems, item.appCode, num);
1457
+ n = n ? parseInt(n) : 0;
1458
+ num += n;
1459
+ if (n) {
1460
+ this.$set(obj, 'tips', n);
1461
+ this.setDot(this.userApps, item.appCode, n);
1462
+ this.setDot(this.applications, item.appCode, n);
1463
+ this.setDot(this.business, item.appCode, n);
1464
+ this.setDot(this.systems, item.appCode, n);
1465
+ }
1463
1466
  });
1467
+ return num;
1464
1468
  } else {
1465
1469
  if (
1466
1470
  (obj.children && obj.children.length) ||
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.68',
128
+ version: '0.7.69',
129
129
  install,
130
130
  Button,
131
131
  ButtonGroup,