ecinc-cloud-mappaio 9.7.53 → 9.7.54
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/ecmappaio.common.js
CHANGED
|
@@ -57840,7 +57840,7 @@ service.interceptors.response.use(function (response) {
|
|
|
57840
57840
|
var $scope = window.$wapp || window.$mapp;
|
|
57841
57841
|
if ($scope && $scope.customErrorHander) {
|
|
57842
57842
|
$scope.customErrorHander(error);
|
|
57843
|
-
} else if ((error.status === 401 || error.response && (error.response.status === 401 || error.response.data && error.response.data.status === 401)) &&
|
|
57843
|
+
} else if ((error.status === 401 || error.response && (error.response.status === 401 || error.response.data && error.response.data.status === 401)) && error.config.url.indexOf('http:') === -1 && error.config.url.indexOf('https:') === -1) {
|
|
57844
57844
|
store/* default */.A.dispatch('user/resetToken').then(function () {
|
|
57845
57845
|
var errmsg = window.$tx('request.status401');
|
|
57846
57846
|
if (error.response && error.response.data && error.response.data.message) {
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -57858,7 +57858,7 @@ service.interceptors.response.use(function (response) {
|
|
|
57858
57858
|
var $scope = window.$wapp || window.$mapp;
|
|
57859
57859
|
if ($scope && $scope.customErrorHander) {
|
|
57860
57860
|
$scope.customErrorHander(error);
|
|
57861
|
-
} else if ((error.status === 401 || error.response && (error.response.status === 401 || error.response.data && error.response.data.status === 401)) &&
|
|
57861
|
+
} else if ((error.status === 401 || error.response && (error.response.status === 401 || error.response.data && error.response.data.status === 401)) && error.config.url.indexOf('http:') === -1 && error.config.url.indexOf('https:') === -1) {
|
|
57862
57862
|
store/* default */.A.dispatch('user/resetToken').then(function () {
|
|
57863
57863
|
var errmsg = window.$tx('request.status401');
|
|
57864
57864
|
if (error.response && error.response.data && error.response.data.message) {
|