eoss-ui 0.4.91 → 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,
@@ -70677,7 +70677,7 @@ if (typeof window !== 'undefined' && window.Vue) {
70677
70677
  }
70678
70678
 
70679
70679
  /* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
70680
- version: '0.4.91',
70680
+ version: '0.4.92',
70681
70681
  install: install,
70682
70682
  Button: packages_button,
70683
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
  }