eoss-mobiles 0.2.88 → 0.2.89

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.
@@ -2150,8 +2150,8 @@ mainvue_type_template_id_17308961_render._withStripped = true
2150
2150
 
2151
2151
  // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=17308961&
2152
2152
 
2153
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=ef7ffa54&
2154
- var selector_treevue_type_template_id_ef7ffa54_render = function () {
2153
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=0cd56a16&
2154
+ var selector_treevue_type_template_id_0cd56a16_render = function () {
2155
2155
  var _vm = this
2156
2156
  var _h = _vm.$createElement
2157
2157
  var _c = _vm._self._c || _h
@@ -2326,11 +2326,11 @@ var selector_treevue_type_template_id_ef7ffa54_render = function () {
2326
2326
  1
2327
2327
  )
2328
2328
  }
2329
- var selector_treevue_type_template_id_ef7ffa54_staticRenderFns = []
2330
- selector_treevue_type_template_id_ef7ffa54_render._withStripped = true
2329
+ var selector_treevue_type_template_id_0cd56a16_staticRenderFns = []
2330
+ selector_treevue_type_template_id_0cd56a16_render._withStripped = true
2331
2331
 
2332
2332
 
2333
- // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=ef7ffa54&
2333
+ // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=0cd56a16&
2334
2334
 
2335
2335
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=238091c2&
2336
2336
  var treevue_type_template_id_238091c2_render = function () {
@@ -4195,10 +4195,10 @@ var _props, _methods;
4195
4195
  if (rCode == 0) {
4196
4196
  if (typeof _this5.selectList == 'string') {
4197
4197
  _this5.selectData = [];
4198
- _this5.list = _this5.getSelectData(res.results);
4198
+ _this5.list = _this5.getSelectData(JSON.parse(JSON.stringify(res.results)));
4199
4199
  _this5.$emit('update:selectList', _this5.list);
4200
4200
  }
4201
- _this5.personnel = res.results;
4201
+ _this5.personnel = JSON.parse(JSON.stringify(res.results));
4202
4202
  var _this = _this5;
4203
4203
  _this5.list.filter(function (r) {
4204
4204
  _this.personnel.find(function (i) {
@@ -4207,7 +4207,7 @@ var _props, _methods;
4207
4207
  }
4208
4208
  });
4209
4209
  });
4210
- _this5.genre = res.results;
4210
+ _this5.genre = JSON.parse(JSON.stringify(res.results));
4211
4211
  } else {
4212
4212
  _this5.$toast(msg);
4213
4213
  }
@@ -4267,7 +4267,7 @@ var _props, _methods;
4267
4267
  }
4268
4268
  });
4269
4269
  });
4270
- if (_this7.isAllCheck && _this7.multiple) {
4270
+ if (_this7.isAllCheck && _this7.multiple && obj.children.length > 0) {
4271
4271
  var checkList = obj.children.slice(1, obj.children.length).filter(function (x) {
4272
4272
  return x.checked;
4273
4273
  });
@@ -4408,6 +4408,7 @@ var _props, _methods;
4408
4408
  this.$set(res.obj, 'checked', false);
4409
4409
  }
4410
4410
  } else {
4411
+
4411
4412
  // if (!this.multiple && this.list.length >= 1) {
4412
4413
  // this.$toast(this.promptText);
4413
4414
  // return;
@@ -4418,18 +4419,18 @@ var _props, _methods;
4418
4419
  model.map(function (x) {
4419
4420
  _this9.$set(x, 'checked', true);
4420
4421
  });
4421
- (_list = this.list).unshift.apply(_list, model.slice(1, model.length));
4422
+ (_list = this.list).push.apply(_list, model.slice(1, model.length));
4422
4423
  } else {
4423
4424
  this.$set(res.obj, 'checked', true);
4424
4425
  if (!this.multiple) {
4425
4426
  this.list = [res.obj];
4426
4427
  this.setChecked(this.personnel, res.obj);
4427
4428
  } else {
4428
- this.list.unshift(res.obj);
4429
+ this.list.push(res.obj);
4429
4430
  }
4430
4431
  }
4431
4432
  }
4432
- if (this.isAllCheck && this.multiple) {
4433
+ if (this.isAllCheck && this.multiple && model[0].isAllCheck) {
4433
4434
  var checkList = model.slice(1, model.length).filter(function (x) {
4434
4435
  return x.checked;
4435
4436
  });
@@ -4482,8 +4483,8 @@ var _props, _methods;
4482
4483
 
4483
4484
  var selector_tree_component = normalizeComponent(
4484
4485
  src_selector_treevue_type_script_lang_js_,
4485
- selector_treevue_type_template_id_ef7ffa54_render,
4486
- selector_treevue_type_template_id_ef7ffa54_staticRenderFns,
4486
+ selector_treevue_type_template_id_0cd56a16_render,
4487
+ selector_treevue_type_template_id_0cd56a16_staticRenderFns,
4487
4488
  false,
4488
4489
  null,
4489
4490
  null,
@@ -24326,7 +24327,7 @@ if (typeof window !== 'undefined' && window.Vue) {
24326
24327
  }
24327
24328
 
24328
24329
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
24329
- version: '0.2.88',
24330
+ version: '0.2.89',
24330
24331
  install: install,
24331
24332
  Button: packages_button,
24332
24333
  ButtonGroup: button_group,