eoss-ui 0.7.21 → 0.7.23
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 +5 -4
- package/lib/button.js +5 -4
- package/lib/calogin.js +5 -4
- package/lib/checkbox-group.js +5 -4
- package/lib/data-table-form.js +5 -4
- package/lib/data-table.js +5 -4
- package/lib/date-picker.js +5 -4
- package/lib/dialog.js +5 -4
- package/lib/eoss-ui.common.js +47 -31
- package/lib/flow-group.js +5 -4
- package/lib/flow-list.js +5 -4
- package/lib/flow.js +17 -11
- package/lib/form.js +5 -4
- package/lib/handle-user.js +5 -4
- package/lib/handler.js +5 -4
- package/lib/icon.js +5 -4
- package/lib/index.js +1 -1
- package/lib/input-number.js +5 -4
- package/lib/input.js +5 -4
- package/lib/login.js +19 -8
- package/lib/main.js +15 -14
- package/lib/nav.js +5 -4
- package/lib/page.js +5 -4
- package/lib/pagination.js +5 -4
- package/lib/player.js +5 -4
- package/lib/qr-code.js +5 -4
- package/lib/radio-group.js +5 -4
- package/lib/retrial-auth.js +5 -4
- package/lib/select-ganged.js +5 -4
- package/lib/select.js +5 -4
- package/lib/selector-panel.js +5 -4
- package/lib/selector.js +5 -4
- package/lib/sizer.js +5 -4
- package/lib/steps.js +5 -4
- package/lib/switch.js +5 -4
- package/lib/table-form.js +5 -4
- package/lib/tabs.js +5 -4
- package/lib/tips.js +5 -4
- package/lib/tree-group.js +5 -4
- package/lib/tree.js +5 -4
- package/lib/upload.js +5 -4
- package/lib/utils/util.js +5 -4
- package/lib/wujie.js +5 -4
- package/lib/wxlogin.js +5 -4
- package/package.json +1 -1
- package/packages/flow/src/processForm.vue +4 -0
- package/packages/login/src/main.vue +20 -2
- package/packages/main/src/simplicity/index.vue +2 -2
- package/src/index.js +1 -1
- package/src/utils/util.js +6 -5
package/lib/input-number.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/input.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/login.js
CHANGED
|
@@ -242,16 +242,17 @@ var ajax = function ajax(_ref) {
|
|
|
242
242
|
http.interceptors.response.use(function (response) {
|
|
243
243
|
// delPendingRequest(response.config);
|
|
244
244
|
loading && loading.close();
|
|
245
|
-
if (response.headers.authorization
|
|
246
|
-
setStorage({
|
|
245
|
+
if (response.headers.authorization) {
|
|
246
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
247
|
+
|
|
247
248
|
key: ['token', 'Authorization'],
|
|
248
249
|
value: response.headers.authorization
|
|
249
250
|
});
|
|
250
251
|
}
|
|
251
252
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
252
253
|
|
|
253
|
-
if (ssId
|
|
254
|
-
setStorage({
|
|
254
|
+
if (ssId) {
|
|
255
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
255
256
|
key: 'ssId',
|
|
256
257
|
value: ssId
|
|
257
258
|
});
|
|
@@ -4475,7 +4476,7 @@ var nightImg = 'data:image/jpeg;base64,/9j/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
|
|
|
4475
4476
|
// ESM COMPAT FLAG
|
|
4476
4477
|
__webpack_require__.r(__webpack_exports__);
|
|
4477
4478
|
|
|
4478
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=
|
|
4479
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=3be2e7f1&
|
|
4479
4480
|
var render = function () {
|
|
4480
4481
|
var _vm = this
|
|
4481
4482
|
var _h = _vm.$createElement
|
|
@@ -5769,7 +5770,7 @@ var staticRenderFns = [
|
|
|
5769
5770
|
render._withStripped = true
|
|
5770
5771
|
|
|
5771
5772
|
|
|
5772
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
5773
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=3be2e7f1&
|
|
5773
5774
|
|
|
5774
5775
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
5775
5776
|
var regenerator_ = __webpack_require__(4);
|
|
@@ -8040,9 +8041,19 @@ var ceshi = util["a" /* default */].getParams('ceshi');
|
|
|
8040
8041
|
}).then(function (res) {
|
|
8041
8042
|
if (res.rCode === 0) {
|
|
8042
8043
|
var results = res.results;
|
|
8043
|
-
if (results.statusCode === 0) {
|
|
8044
|
+
if (results.statusCode === 0 || results.statusCode === 2) {
|
|
8045
|
+
// statusCode为2时 代表密码过期,也应执行handleResults
|
|
8044
8046
|
clearTimeout(_this12.interval);
|
|
8045
|
-
|
|
8047
|
+
if (results.statusCode === 2) {
|
|
8048
|
+
_this12.$alert(results.msg ? results.msg : '您的初始密码已过期,请及时修改!', '提示', {
|
|
8049
|
+
confirmButtonText: '确定',
|
|
8050
|
+
type: 'warning'
|
|
8051
|
+
}).then(function () {
|
|
8052
|
+
_this12.handleResults(results, 3);
|
|
8053
|
+
}).catch(function (e) {});
|
|
8054
|
+
} else {
|
|
8055
|
+
_this12.handleResults(results, 3);
|
|
8056
|
+
}
|
|
8046
8057
|
} else {
|
|
8047
8058
|
_this12.loginInfo(true);
|
|
8048
8059
|
}
|
package/lib/main.js
CHANGED
|
@@ -242,16 +242,17 @@ var ajax = function ajax(_ref) {
|
|
|
242
242
|
http.interceptors.response.use(function (response) {
|
|
243
243
|
// delPendingRequest(response.config);
|
|
244
244
|
loading && loading.close();
|
|
245
|
-
if (response.headers.authorization
|
|
246
|
-
setStorage({
|
|
245
|
+
if (response.headers.authorization) {
|
|
246
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
247
|
+
|
|
247
248
|
key: ['token', 'Authorization'],
|
|
248
249
|
value: response.headers.authorization
|
|
249
250
|
});
|
|
250
251
|
}
|
|
251
252
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
252
253
|
|
|
253
|
-
if (ssId
|
|
254
|
-
setStorage({
|
|
254
|
+
if (ssId) {
|
|
255
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
255
256
|
key: 'ssId',
|
|
256
257
|
value: ssId
|
|
257
258
|
});
|
|
@@ -4558,8 +4559,8 @@ render._withStripped = true
|
|
|
4558
4559
|
// EXTERNAL MODULE: ./src/config/image.js
|
|
4559
4560
|
var config_image = __webpack_require__(20);
|
|
4560
4561
|
|
|
4561
|
-
// 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=
|
|
4562
|
-
var
|
|
4562
|
+
// 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=7cb3c8cc&scoped=true&
|
|
4563
|
+
var simplicityvue_type_template_id_7cb3c8cc_scoped_true_render = function () {
|
|
4563
4564
|
var _vm = this
|
|
4564
4565
|
var _h = _vm.$createElement
|
|
4565
4566
|
var _c = _vm._self._c || _h
|
|
@@ -5253,11 +5254,11 @@ var simplicityvue_type_template_id_1f6395a8_scoped_true_render = function () {
|
|
|
5253
5254
|
),
|
|
5254
5255
|
])
|
|
5255
5256
|
}
|
|
5256
|
-
var
|
|
5257
|
-
|
|
5257
|
+
var simplicityvue_type_template_id_7cb3c8cc_scoped_true_staticRenderFns = []
|
|
5258
|
+
simplicityvue_type_template_id_7cb3c8cc_scoped_true_render._withStripped = true
|
|
5258
5259
|
|
|
5259
5260
|
|
|
5260
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
5261
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7cb3c8cc&scoped=true&
|
|
5261
5262
|
|
|
5262
5263
|
// 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&
|
|
5263
5264
|
var avatarvue_type_template_id_e722b45c_scoped_true_render = function () {
|
|
@@ -12714,11 +12715,11 @@ var events = [function (tabs, index, that) {
|
|
|
12714
12715
|
}
|
|
12715
12716
|
if (close) {
|
|
12716
12717
|
if (close === old) {
|
|
12717
|
-
this.tabs.splice(n,
|
|
12718
|
+
this.tabs.splice(n, 1);
|
|
12718
12719
|
} else {
|
|
12719
12720
|
var d = util["a" /* default */].indexOfObj(this.tabs, close, 'id,code,appCode');
|
|
12720
12721
|
if (d > -1) {
|
|
12721
|
-
this.tabs.splice(d,
|
|
12722
|
+
this.tabs.splice(d, 1);
|
|
12722
12723
|
}
|
|
12723
12724
|
}
|
|
12724
12725
|
}
|
|
@@ -12769,11 +12770,11 @@ var events = [function (tabs, index, that) {
|
|
|
12769
12770
|
|
|
12770
12771
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
12771
12772
|
src_simplicityvue_type_script_lang_js_,
|
|
12772
|
-
|
|
12773
|
-
|
|
12773
|
+
simplicityvue_type_template_id_7cb3c8cc_scoped_true_render,
|
|
12774
|
+
simplicityvue_type_template_id_7cb3c8cc_scoped_true_staticRenderFns,
|
|
12774
12775
|
false,
|
|
12775
12776
|
null,
|
|
12776
|
-
"
|
|
12777
|
+
"7cb3c8cc",
|
|
12777
12778
|
null
|
|
12778
12779
|
|
|
12779
12780
|
)
|
package/lib/nav.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/page.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/pagination.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/player.js
CHANGED
|
@@ -242,16 +242,17 @@ var ajax = function ajax(_ref) {
|
|
|
242
242
|
http.interceptors.response.use(function (response) {
|
|
243
243
|
// delPendingRequest(response.config);
|
|
244
244
|
loading && loading.close();
|
|
245
|
-
if (response.headers.authorization
|
|
246
|
-
setStorage({
|
|
245
|
+
if (response.headers.authorization) {
|
|
246
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
247
|
+
|
|
247
248
|
key: ['token', 'Authorization'],
|
|
248
249
|
value: response.headers.authorization
|
|
249
250
|
});
|
|
250
251
|
}
|
|
251
252
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
252
253
|
|
|
253
|
-
if (ssId
|
|
254
|
-
setStorage({
|
|
254
|
+
if (ssId) {
|
|
255
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
255
256
|
key: 'ssId',
|
|
256
257
|
value: ssId
|
|
257
258
|
});
|
package/lib/qr-code.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/radio-group.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/retrial-auth.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/select-ganged.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/select.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/selector-panel.js
CHANGED
|
@@ -242,16 +242,17 @@ var ajax = function ajax(_ref) {
|
|
|
242
242
|
http.interceptors.response.use(function (response) {
|
|
243
243
|
// delPendingRequest(response.config);
|
|
244
244
|
loading && loading.close();
|
|
245
|
-
if (response.headers.authorization
|
|
246
|
-
setStorage({
|
|
245
|
+
if (response.headers.authorization) {
|
|
246
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
247
|
+
|
|
247
248
|
key: ['token', 'Authorization'],
|
|
248
249
|
value: response.headers.authorization
|
|
249
250
|
});
|
|
250
251
|
}
|
|
251
252
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
252
253
|
|
|
253
|
-
if (ssId
|
|
254
|
-
setStorage({
|
|
254
|
+
if (ssId) {
|
|
255
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
255
256
|
key: 'ssId',
|
|
256
257
|
value: ssId
|
|
257
258
|
});
|
package/lib/selector.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/sizer.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/steps.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/switch.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/table-form.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/tabs.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/tips.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/tree-group.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/tree.js
CHANGED
|
@@ -243,16 +243,17 @@ var ajax = function ajax(_ref) {
|
|
|
243
243
|
http.interceptors.response.use(function (response) {
|
|
244
244
|
// delPendingRequest(response.config);
|
|
245
245
|
loading && loading.close();
|
|
246
|
-
if (response.headers.authorization
|
|
247
|
-
setStorage({
|
|
246
|
+
if (response.headers.authorization) {
|
|
247
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
248
|
+
|
|
248
249
|
key: ['token', 'Authorization'],
|
|
249
250
|
value: response.headers.authorization
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
253
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
253
254
|
|
|
254
|
-
if (ssId
|
|
255
|
-
setStorage({
|
|
255
|
+
if (ssId) {
|
|
256
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
256
257
|
key: 'ssId',
|
|
257
258
|
value: ssId
|
|
258
259
|
});
|
package/lib/upload.js
CHANGED
|
@@ -242,16 +242,17 @@ var ajax = function ajax(_ref) {
|
|
|
242
242
|
http.interceptors.response.use(function (response) {
|
|
243
243
|
// delPendingRequest(response.config);
|
|
244
244
|
loading && loading.close();
|
|
245
|
-
if (response.headers.authorization
|
|
246
|
-
setStorage({
|
|
245
|
+
if (response.headers.authorization) {
|
|
246
|
+
response.headers.authorization !== getStorage('token') && setStorage({
|
|
247
|
+
|
|
247
248
|
key: ['token', 'Authorization'],
|
|
248
249
|
value: response.headers.authorization
|
|
249
250
|
});
|
|
250
251
|
}
|
|
251
252
|
var ssId = response.headers.ssId || response.headers.Ssid || response.headers.ssid;
|
|
252
253
|
|
|
253
|
-
if (ssId
|
|
254
|
-
setStorage({
|
|
254
|
+
if (ssId) {
|
|
255
|
+
ssId !== getStorage('ssId') && setStorage({
|
|
255
256
|
key: 'ssId',
|
|
256
257
|
value: ssId
|
|
257
258
|
});
|