eoss-ui 0.4.90 → 0.4.92

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.
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
package/lib/button.js CHANGED
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
@@ -448,11 +448,11 @@ var ajax = function ajax(_ref) {
448
448
  }
449
449
  if (method === 'post' && format) {
450
450
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
451
- if (!header['content-type']) {
451
+ if (!header['content-type'] && !header['Content-Type']) {
452
452
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
453
453
  }
454
454
  } else {
455
- if (!header['content-type']) {
455
+ if (!header['content-type'] && !header['Content-Type']) {
456
456
  header['content-type'] = 'application/json;charset=UTF-8';
457
457
  }
458
458
  }
package/lib/data-table.js CHANGED
@@ -448,11 +448,11 @@ var ajax = function ajax(_ref) {
448
448
  }
449
449
  if (method === 'post' && format) {
450
450
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
451
- if (!header['content-type']) {
451
+ if (!header['content-type'] && !header['Content-Type']) {
452
452
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
453
453
  }
454
454
  } else {
455
- if (!header['content-type']) {
455
+ if (!header['content-type'] && !header['Content-Type']) {
456
456
  header['content-type'] = 'application/json;charset=UTF-8';
457
457
  }
458
458
  }
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
package/lib/dialog.js CHANGED
@@ -448,11 +448,11 @@ var ajax = function ajax(_ref) {
448
448
  }
449
449
  if (method === 'post' && format) {
450
450
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
451
- if (!header['content-type']) {
451
+ if (!header['content-type'] && !header['Content-Type']) {
452
452
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
453
453
  }
454
454
  } else {
455
- if (!header['content-type']) {
455
+ if (!header['content-type'] && !header['Content-Type']) {
456
456
  header['content-type'] = 'application/json;charset=UTF-8';
457
457
  }
458
458
  }
@@ -448,11 +448,11 @@ var ajax = function ajax(_ref) {
448
448
  }
449
449
  if (method === 'post' && format) {
450
450
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
451
- if (!header['content-type']) {
451
+ if (!header['content-type'] && !header['Content-Type']) {
452
452
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
453
453
  }
454
454
  } else {
455
- if (!header['content-type']) {
455
+ if (!header['content-type'] && !header['Content-Type']) {
456
456
  header['content-type'] = 'application/json;charset=UTF-8';
457
457
  }
458
458
  }
@@ -47309,8 +47309,8 @@ login_src_main.install = function (Vue) {
47309
47309
  };
47310
47310
 
47311
47311
  /* harmony default export */ var login = (login_src_main);
47312
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=6641fcac&
47313
- var mainvue_type_template_id_6641fcac_render = function () {
47312
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=08b696ec&
47313
+ var mainvue_type_template_id_08b696ec_render = function () {
47314
47314
  var _vm = this
47315
47315
  var _h = _vm.$createElement
47316
47316
  var _c = _vm._self._c || _h
@@ -47735,11 +47735,11 @@ var mainvue_type_template_id_6641fcac_render = function () {
47735
47735
  1
47736
47736
  )
47737
47737
  }
47738
- var mainvue_type_template_id_6641fcac_staticRenderFns = []
47739
- mainvue_type_template_id_6641fcac_render._withStripped = true
47738
+ var mainvue_type_template_id_08b696ec_staticRenderFns = []
47739
+ mainvue_type_template_id_08b696ec_render._withStripped = true
47740
47740
 
47741
47741
 
47742
- // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=6641fcac&
47742
+ // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=08b696ec&
47743
47743
 
47744
47744
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=799780ee&
47745
47745
  var userinfovue_type_template_id_799780ee_render = function () {
@@ -50263,32 +50263,32 @@ var log = utils_util["a" /* default */].getParams('console');
50263
50263
  this.navIds = ids;
50264
50264
  this.setTitle(ids[0]);
50265
50265
  }
50266
+ } else if (sessionStorage.getItem('jump') && this.history) {
50267
+ var _ids = this.getId(this.menus, sessionStorage.getItem('jump'), true);
50268
+ if (_ids) {
50269
+ this.defaultActive = _ids;
50270
+ this.navIds = _ids;
50271
+ this.setTitle(_ids[0]);
50272
+ }
50266
50273
  } else if (utils_util["a" /* default */].win.location.hash) {
50267
50274
  var hash = utils_util["a" /* default */].win.location.hash;
50268
50275
  if (hash) {
50269
50276
  hash = hash.split('?')[0];
50270
50277
  }
50271
50278
  if (hash !== '#/' && hash !== '#/main') {
50272
- var _ids = this.getId(this.menus, utils_util["a" /* default */].win.location.hash, true);
50273
- if (_ids) {
50274
- this.defaultActive = _ids;
50275
- this.navIds = _ids;
50276
- this.setTitle(_ids[0]);
50277
- }
50278
- } else if (sessionStorage.getItem('jump') && this.history) {
50279
- var _ids2 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
50279
+ var _ids2 = this.getId(this.menus, utils_util["a" /* default */].win.location.hash, true);
50280
50280
  if (_ids2) {
50281
50281
  this.defaultActive = _ids2;
50282
50282
  this.navIds = _ids2;
50283
50283
  this.setTitle(_ids2[0]);
50284
50284
  }
50285
- }
50286
- } else if (sessionStorage.getItem('jump') && this.history) {
50287
- var _ids3 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
50288
- if (_ids3) {
50289
- this.defaultActive = _ids3;
50290
- this.navIds = _ids3;
50291
- this.setTitle(_ids3[0]);
50285
+ } else if (sessionStorage.getItem('jump') && this.history) {
50286
+ var _ids3 = this.getId(this.menus, sessionStorage.getItem('jump'), true);
50287
+ if (_ids3) {
50288
+ this.defaultActive = _ids3;
50289
+ this.navIds = _ids3;
50290
+ this.setTitle(_ids3[0]);
50291
+ }
50292
50292
  }
50293
50293
  }
50294
50294
  this.setMenu(this.menus);
@@ -50527,32 +50527,32 @@ var log = utils_util["a" /* default */].getParams('console');
50527
50527
  if (ids) {
50528
50528
  _this5.defaultActive = ids;
50529
50529
  }
50530
+ } else if (sessionStorage.getItem('jump') && _this5.history) {
50531
+ var _ids4 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50532
+ if (_ids4) {
50533
+ _this5.defaultActive = _ids4;
50534
+ _this5.navIds = _ids4;
50535
+ _this5.setTitle(_ids4[0]);
50536
+ }
50530
50537
  } else if (utils_util["a" /* default */].win.location.hash) {
50531
50538
  var hash = utils_util["a" /* default */].win.location.hash;
50532
50539
  if (hash) {
50533
50540
  hash = hash.split('?')[0];
50534
50541
  }
50535
50542
  if (hash !== '#/' && hash !== '#/main') {
50536
- var _ids4 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
50537
- if (_ids4) {
50538
- _this5.defaultActive = _ids4;
50539
- _this5.navIds = _ids4;
50540
- _this5.setTitle(_ids4[0]);
50541
- }
50542
- } else if (sessionStorage.getItem('jump') && _this5.history) {
50543
- var _ids5 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50543
+ var _ids5 = _this5.getId(_this5.menus, utils_util["a" /* default */].win.location.hash, true);
50544
50544
  if (_ids5) {
50545
50545
  _this5.defaultActive = _ids5;
50546
50546
  _this5.navIds = _ids5;
50547
50547
  _this5.setTitle(_ids5[0]);
50548
50548
  }
50549
- }
50550
- } else if (sessionStorage.getItem('jump') && _this5.history) {
50551
- var _ids6 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50552
- if (_ids6) {
50553
- _this5.defaultActive = _ids6;
50554
- _this5.navIds = _ids6;
50555
- _this5.setTitle(_ids6[0]);
50549
+ } else if (sessionStorage.getItem('jump') && _this5.history) {
50550
+ var _ids6 = _this5.getId(_this5.menus, sessionStorage.getItem('jump'), true);
50551
+ if (_ids6) {
50552
+ _this5.defaultActive = _ids6;
50553
+ _this5.navIds = _ids6;
50554
+ _this5.setTitle(_ids6[0]);
50555
+ }
50556
50556
  }
50557
50557
  }
50558
50558
  _this5.setTips(_this5.menus);
@@ -51468,8 +51468,8 @@ var log = utils_util["a" /* default */].getParams('console');
51468
51468
 
51469
51469
  var main_src_main_component = normalizeComponent(
51470
51470
  packages_main_src_mainvue_type_script_lang_js_,
51471
- mainvue_type_template_id_6641fcac_render,
51472
- mainvue_type_template_id_6641fcac_staticRenderFns,
51471
+ mainvue_type_template_id_08b696ec_render,
51472
+ mainvue_type_template_id_08b696ec_staticRenderFns,
51473
51473
  false,
51474
51474
  null,
51475
51475
  null,
@@ -62669,8 +62669,8 @@ tips_src_main.install = function (Vue) {
62669
62669
  };
62670
62670
 
62671
62671
  /* harmony default export */ var tips = (tips_src_main);
62672
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=1caf3025&
62673
- var mainvue_type_template_id_1caf3025_render = function () {
62672
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=template&id=ad13099c&
62673
+ var mainvue_type_template_id_ad13099c_render = function () {
62674
62674
  var _vm = this
62675
62675
  var _h = _vm.$createElement
62676
62676
  var _c = _vm._self._c || _h
@@ -62859,11 +62859,11 @@ var mainvue_type_template_id_1caf3025_render = function () {
62859
62859
  )
62860
62860
  : _vm._e()
62861
62861
  }
62862
- var mainvue_type_template_id_1caf3025_staticRenderFns = []
62863
- mainvue_type_template_id_1caf3025_render._withStripped = true
62862
+ var mainvue_type_template_id_ad13099c_staticRenderFns = []
62863
+ mainvue_type_template_id_ad13099c_render._withStripped = true
62864
62864
 
62865
62865
 
62866
- // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=1caf3025&
62866
+ // CONCATENATED MODULE: ./packages/tree/src/main.vue?vue&type=template&id=ad13099c&
62867
62867
 
62868
62868
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/main.vue?vue&type=script&lang=js&
62869
62869
  //
@@ -63025,10 +63025,6 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63025
63025
  type: String,
63026
63026
  default: api["H" /* getOrgMainTree */]
63027
63027
  },
63028
- currentFirstNode: {
63029
- type: Boolean,
63030
- default: false
63031
- },
63032
63028
  system: {
63033
63029
  type: Boolean,
63034
63030
  default: false
@@ -63258,6 +63254,7 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63258
63254
  if (_this.currentFirst) {
63259
63255
  var currentNode = treeList[0].id;
63260
63256
  if (!_this.currentNodeKey && _this.currentNodeKey != 0) {
63257
+ _this.$emit('current-first', 'current', treeList[0]);
63261
63258
  _this.$nextTick(function () {
63262
63259
  _this.$refs.oaTree.setCurrentKey(currentNode);
63263
63260
  });
@@ -63266,6 +63263,7 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63266
63263
  if (_this.checkedFirst) {
63267
63264
  var checkedNode = treeList[0].id;
63268
63265
  if (_this.defaultCheckedKeys && _this.defaultCheckedKeys.indexOf(checkedNode) == -1) {
63266
+ _this.$emit('current-first', 'checked', treeList[0]);
63269
63267
  _this.checkedKeys = [checkedNode];
63270
63268
  }
63271
63269
  }
@@ -63553,8 +63551,8 @@ mainvue_type_template_id_1caf3025_render._withStripped = true
63553
63551
 
63554
63552
  var tree_src_main_component = normalizeComponent(
63555
63553
  packages_tree_src_mainvue_type_script_lang_js_,
63556
- mainvue_type_template_id_1caf3025_render,
63557
- mainvue_type_template_id_1caf3025_staticRenderFns,
63554
+ mainvue_type_template_id_ad13099c_render,
63555
+ mainvue_type_template_id_ad13099c_staticRenderFns,
63558
63556
  false,
63559
63557
  null,
63560
63558
  null,
@@ -63571,8 +63569,8 @@ tree_src_main.install = function (Vue) {
63571
63569
  };
63572
63570
 
63573
63571
  /* harmony default export */ var packages_tree = (tree_src_main);
63574
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=11d86630&
63575
- var mainvue_type_template_id_11d86630_render = function () {
63572
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=template&id=29d92df1&
63573
+ var mainvue_type_template_id_29d92df1_render = function () {
63576
63574
  var _vm = this
63577
63575
  var _h = _vm.$createElement
63578
63576
  var _c = _vm._self._c || _h
@@ -63614,6 +63612,10 @@ var mainvue_type_template_id_11d86630_render = function () {
63614
63612
  },
63615
63613
  },
63616
63614
  _vm._l(_vm.tabs, function (item, index) {
63615
+ var arguments$1 = arguments
63616
+ var i = arguments.length,
63617
+ argsArray = Array(i)
63618
+ while (i--) argsArray[i] = arguments[i]
63617
63619
  return _c(
63618
63620
  "el-tab-pane",
63619
63621
  {
@@ -63629,9 +63631,24 @@ var mainvue_type_template_id_11d86630_render = function () {
63629
63631
  ref: item.ref ? item.ref : "groupTree" + index,
63630
63632
  refInFor: true,
63631
63633
  on: {
63632
- "node-click": _vm.handleNodeClick,
63633
- "check-change": _vm.handleCheckChange,
63634
- "current-first": _vm.handleCurrentFirst,
63634
+ "node-click": function (data, node) {
63635
+ _vm.handleNodeClick(data, node, item)
63636
+ },
63637
+ "check-change": function () {
63638
+ _vm.handleCheckChange.apply(
63639
+ void 0,
63640
+ arguments$1.concat([item])
63641
+ )
63642
+ },
63643
+ results: function (res) {
63644
+ _vm.handleResults(res, item)
63645
+ },
63646
+ "sub-results": function (res) {
63647
+ _vm.handleSubResults(res, item)
63648
+ },
63649
+ "current-first": function (type, res) {
63650
+ _vm.handleCurrentFirst(type, res, item)
63651
+ },
63635
63652
  },
63636
63653
  },
63637
63654
  "es-tree",
@@ -63689,6 +63706,7 @@ var mainvue_type_template_id_11d86630_render = function () {
63689
63706
  "check-change": _vm.handleCheckChange,
63690
63707
  results: _vm.handleResults,
63691
63708
  "sub-results": _vm.handleSubResults,
63709
+ "current-first": _vm.handleCurrentFirst,
63692
63710
  },
63693
63711
  },
63694
63712
  "es-tree",
@@ -63880,11 +63898,11 @@ var mainvue_type_template_id_11d86630_render = function () {
63880
63898
  2
63881
63899
  )
63882
63900
  }
63883
- var mainvue_type_template_id_11d86630_staticRenderFns = []
63884
- mainvue_type_template_id_11d86630_render._withStripped = true
63901
+ var mainvue_type_template_id_29d92df1_staticRenderFns = []
63902
+ mainvue_type_template_id_29d92df1_render._withStripped = true
63885
63903
 
63886
63904
 
63887
- // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=11d86630&
63905
+ // CONCATENATED MODULE: ./packages/tree-group/src/main.vue?vue&type=template&id=29d92df1&
63888
63906
 
63889
63907
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree-group/src/main.vue?vue&type=script&lang=js&
63890
63908
  //
@@ -64037,6 +64055,29 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64037
64055
  //
64038
64056
  //
64039
64057
  //
64058
+ //
64059
+ //
64060
+ //
64061
+ //
64062
+ //
64063
+ //
64064
+ //
64065
+ //
64066
+ //
64067
+ //
64068
+ //
64069
+ //
64070
+ //
64071
+ //
64072
+ //
64073
+ //
64074
+ //
64075
+ //
64076
+ //
64077
+ //
64078
+ //
64079
+ //
64080
+ //
64040
64081
 
64041
64082
 
64042
64083
  /* harmony default export */ var tree_group_src_mainvue_type_script_lang_js_ = ({
@@ -64277,14 +64318,14 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64277
64318
  handleSelect: function handleSelect() {
64278
64319
  this.$emit('tab-click', this.tabs[parseInt(this.active, 10)]);
64279
64320
  },
64280
- handleNodeClick: function handleNodeClick(data, node) {
64321
+ handleNodeClick: function handleNodeClick(data, node, tabs) {
64281
64322
  if (this.clickedAsSearch) {
64282
64323
  this.checkeds = data;
64283
64324
  }
64284
64325
  if (this.onNodeClick) {
64285
- this.onNodeClick(this, data, node);
64326
+ this.onNodeClick(this, data, node, tabs);
64286
64327
  } else {
64287
- this.$emit('node-click', this, data, node);
64328
+ this.$emit('node-click', this, data, node, tabs);
64288
64329
  }
64289
64330
  },
64290
64331
  handleCheckChange: function handleCheckChange() {
@@ -64306,14 +64347,14 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64306
64347
  this.checkeds = res;
64307
64348
  this.$emit('enterprise-confirm', res);
64308
64349
  },
64309
- handleResults: function handleResults(res) {
64350
+ handleResults: function handleResults(res, tabs) {
64310
64351
  if (this.tree.showCheckbox && this.tree.checkedFirst && this.checkedAsSearch || this.tree.currentFirst) {
64311
64352
  this.checkeds = res[0];
64312
64353
  }
64313
- this.$emit('results', res);
64354
+ this.$emit('results', res, tabs);
64314
64355
  },
64315
- handleSubResults: function handleSubResults(res) {
64316
- this.$emit('sub-results', res);
64356
+ handleSubResults: function handleSubResults(res, tabs) {
64357
+ this.$emit('sub-results', res, tabs);
64317
64358
  },
64318
64359
  setCurrentKey: function setCurrentKey(keys, leafOnly) {
64319
64360
  var _this2 = this;
@@ -64326,6 +64367,9 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64326
64367
  getTree: function getTree() {
64327
64368
  var ref = this.tabs && this.tabs.length ? this.tabs[Number(this.active)].ref ? this.tabs[Number(this.active)].ref : 'groupTree' + this.active : 'groupTree';
64328
64369
  return this.$refs[ref];
64370
+ },
64371
+ handleCurrentFirst: function handleCurrentFirst(type, res, tabs) {
64372
+ this.$emit('current-first', type, res, tabs);
64329
64373
  }
64330
64374
  }
64331
64375
  });
@@ -64341,8 +64385,8 @@ mainvue_type_template_id_11d86630_render._withStripped = true
64341
64385
 
64342
64386
  var tree_group_src_main_component = normalizeComponent(
64343
64387
  packages_tree_group_src_mainvue_type_script_lang_js_,
64344
- mainvue_type_template_id_11d86630_render,
64345
- mainvue_type_template_id_11d86630_staticRenderFns,
64388
+ mainvue_type_template_id_29d92df1_render,
64389
+ mainvue_type_template_id_29d92df1_staticRenderFns,
64346
64390
  false,
64347
64391
  null,
64348
64392
  null,
@@ -70633,7 +70677,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70633
70677
  }
70634
70678
 
70635
70679
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
70636
- version: '0.4.90',
70680
+ version: '0.4.92',
70637
70681
  install: install,
70638
70682
  Button: packages_button,
70639
70683
  ButtonGroup: button_group,
package/lib/flow-group.js CHANGED
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
package/lib/flow-list.js CHANGED
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
package/lib/flow.js CHANGED
@@ -448,11 +448,11 @@ var ajax = function ajax(_ref) {
448
448
  }
449
449
  if (method === 'post' && format) {
450
450
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
451
- if (!header['content-type']) {
451
+ if (!header['content-type'] && !header['Content-Type']) {
452
452
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
453
453
  }
454
454
  } else {
455
- if (!header['content-type']) {
455
+ if (!header['content-type'] && !header['Content-Type']) {
456
456
  header['content-type'] = 'application/json;charset=UTF-8';
457
457
  }
458
458
  }
package/lib/form.js CHANGED
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }
package/lib/handler.js CHANGED
@@ -449,11 +449,11 @@ var ajax = function ajax(_ref) {
449
449
  }
450
450
  if (method === 'post' && format) {
451
451
  data = qs__WEBPACK_IMPORTED_MODULE_2___default.a.stringify(data);
452
- if (!header['content-type']) {
452
+ if (!header['content-type'] && !header['Content-Type']) {
453
453
  header['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
454
454
  }
455
455
  } else {
456
- if (!header['content-type']) {
456
+ if (!header['content-type'] && !header['Content-Type']) {
457
457
  header['content-type'] = 'application/json;charset=UTF-8';
458
458
  }
459
459
  }