ecinc-cloud-wappaio 9.7.31 → 9.7.32
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/ecwappaio.common.js
CHANGED
|
@@ -272289,7 +272289,10 @@ service.interceptors.response.use(function (response) {
|
|
|
272289
272289
|
errmsg = error.response.data.message;
|
|
272290
272290
|
}
|
|
272291
272291
|
if (window.vType === 'wapp') {
|
|
272292
|
-
|
|
272292
|
+
var ignoreUrls = ['login', 'getUserRolePermissions', 'getUiStyleConfig', 'queryUiFontSize', 'homepage/allm'];
|
|
272293
|
+
if (!ignoreUrls.some(function (u) {
|
|
272294
|
+
return error.config.url.toLowerCase().indexOf(u) !== -1;
|
|
272295
|
+
})) {
|
|
272293
272296
|
//认证会话已过期,请重新登录。
|
|
272294
272297
|
window.$alert(errmsg, window.$tx('common.operationTip'), {
|
|
272295
272298
|
type: 'error',
|
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -272299,7 +272299,10 @@ service.interceptors.response.use(function (response) {
|
|
|
272299
272299
|
errmsg = error.response.data.message;
|
|
272300
272300
|
}
|
|
272301
272301
|
if (window.vType === 'wapp') {
|
|
272302
|
-
|
|
272302
|
+
var ignoreUrls = ['login', 'getUserRolePermissions', 'getUiStyleConfig', 'queryUiFontSize', 'homepage/allm'];
|
|
272303
|
+
if (!ignoreUrls.some(function (u) {
|
|
272304
|
+
return error.config.url.toLowerCase().indexOf(u) !== -1;
|
|
272305
|
+
})) {
|
|
272303
272306
|
//认证会话已过期,请重新登录。
|
|
272304
272307
|
window.$alert(errmsg, window.$tx('common.operationTip'), {
|
|
272305
272308
|
type: 'error',
|