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.
- package/lib/button-group.js +2 -2
- package/lib/button.js +2 -2
- package/lib/checkbox-group.js +2 -2
- package/lib/data-table-form.js +2 -2
- package/lib/data-table.js +2 -2
- package/lib/date-picker.js +2 -2
- package/lib/dialog.js +2 -2
- package/lib/eoss-ui.common.js +40 -40
- package/lib/flow-group.js +2 -2
- package/lib/flow-list.js +2 -2
- package/lib/flow.js +2 -2
- package/lib/form.js +2 -2
- package/lib/handle-user.js +2 -2
- package/lib/handler.js +2 -2
- package/lib/index.js +1 -1
- package/lib/input-number.js +2 -2
- package/lib/input.js +2 -2
- package/lib/login.js +2 -2
- package/lib/main.js +34 -34
- package/lib/nav.js +2 -2
- package/lib/page.js +2 -2
- package/lib/player.js +2 -2
- package/lib/qr-code.js +2 -2
- package/lib/radio-group.js +2 -2
- package/lib/retrial-auth.js +2 -2
- package/lib/select-ganged.js +2 -2
- package/lib/select.js +2 -2
- package/lib/selector-panel.js +2 -2
- package/lib/selector.js +2 -2
- package/lib/sizer.js +2 -2
- package/lib/steps.js +2 -2
- package/lib/switch.js +2 -2
- package/lib/table-form.js +2 -2
- package/lib/tabs.js +2 -2
- package/lib/tips.js +2 -2
- package/lib/tree-group.js +2 -2
- package/lib/tree.js +2 -2
- package/lib/upload.js +2 -2
- package/lib/utils/util.js +2 -2
- package/lib/wujie.js +2 -2
- package/lib/wxlogin.js +2 -2
- package/package.json +1 -1
- package/packages/main/src/main.vue +22 -22
- package/src/index.js +1 -1
- package/src/utils/util.js +2 -2
package/lib/button-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/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
|
}
|
package/lib/checkbox-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/data-table-form.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/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
|
}
|
package/lib/date-picker.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/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
|
}
|
package/lib/eoss-ui.common.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
|
}
|
|
@@ -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=
|
|
47313
|
-
var
|
|
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
|
|
47739
|
-
|
|
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=
|
|
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
|
|
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
|
-
|
|
50287
|
-
|
|
50288
|
-
|
|
50289
|
-
|
|
50290
|
-
|
|
50291
|
-
|
|
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
|
|
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
|
-
|
|
50551
|
-
|
|
50552
|
-
|
|
50553
|
-
|
|
50554
|
-
|
|
50555
|
-
|
|
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
|
-
|
|
51472
|
-
|
|
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.
|
|
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
|
}
|
package/lib/handle-user.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/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
|
}
|