custom-vxe-table 2.2.7-3 → 2.2.7-4
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/index.common.js +2 -1
- package/lib/index.umd.js +2 -1
- package/lib/index.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/index.common.js
CHANGED
|
@@ -62915,6 +62915,7 @@ axios_default.a.defaults.headers["token"] = utils_storage.getO("token"); // cons
|
|
|
62915
62915
|
// axios.defaults.headers['token'] = token;
|
|
62916
62916
|
|
|
62917
62917
|
axios_default.a.interceptors.request.use(function (config) {
|
|
62918
|
+
console.log("############# request", config);
|
|
62918
62919
|
var params = config.data;
|
|
62919
62920
|
var user = utils_storage.getO("user");
|
|
62920
62921
|
|
|
@@ -62924,6 +62925,7 @@ axios_default.a.interceptors.request.use(function (config) {
|
|
|
62924
62925
|
}
|
|
62925
62926
|
|
|
62926
62927
|
config.data = params;
|
|
62928
|
+
console.log("############# request>>", config);
|
|
62927
62929
|
return config;
|
|
62928
62930
|
}, function (err) {
|
|
62929
62931
|
return Promise.reject(err);
|
|
@@ -62935,7 +62937,6 @@ axios_default.a.interceptors.response.use(function (res) {
|
|
|
62935
62937
|
} else {
|
|
62936
62938
|
if (_typeof(res.data) !== "object") {
|
|
62937
62939
|
var lang = axios_default.a.defaults.headers["language"];
|
|
62938
|
-
console.log("#############error request", res);
|
|
62939
62940
|
|
|
62940
62941
|
if ("en_us" === lang) {
|
|
62941
62942
|
es_message.error("Server exception!");
|
package/lib/index.umd.js
CHANGED
|
@@ -62924,6 +62924,7 @@ axios_default.a.defaults.headers["token"] = utils_storage.getO("token"); // cons
|
|
|
62924
62924
|
// axios.defaults.headers['token'] = token;
|
|
62925
62925
|
|
|
62926
62926
|
axios_default.a.interceptors.request.use(function (config) {
|
|
62927
|
+
console.log("############# request", config);
|
|
62927
62928
|
var params = config.data;
|
|
62928
62929
|
var user = utils_storage.getO("user");
|
|
62929
62930
|
|
|
@@ -62933,6 +62934,7 @@ axios_default.a.interceptors.request.use(function (config) {
|
|
|
62933
62934
|
}
|
|
62934
62935
|
|
|
62935
62936
|
config.data = params;
|
|
62937
|
+
console.log("############# request>>", config);
|
|
62936
62938
|
return config;
|
|
62937
62939
|
}, function (err) {
|
|
62938
62940
|
return Promise.reject(err);
|
|
@@ -62944,7 +62946,6 @@ axios_default.a.interceptors.response.use(function (res) {
|
|
|
62944
62946
|
} else {
|
|
62945
62947
|
if (_typeof(res.data) !== "object") {
|
|
62946
62948
|
var lang = axios_default.a.defaults.headers["language"];
|
|
62947
|
-
console.log("#############error request", res);
|
|
62948
62949
|
|
|
62949
62950
|
if ("en_us" === lang) {
|
|
62950
62951
|
es_message.error("Server exception!");
|