@freelog/tools-lib 0.1.186 → 0.1.187
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/dist/tools-lib.cjs.development.js +1 -1
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +1 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/axios.ts +141 -141
package/dist/tools-lib.esm.js
CHANGED
|
@@ -3478,7 +3478,7 @@ axios.interceptors.response.use(function (response) {
|
|
|
3478
3478
|
// Do something with response data
|
|
3479
3479
|
// console.log(response, 'response!!!!!!');
|
|
3480
3480
|
// NProgress.done();
|
|
3481
|
-
if (response.status !== 200) {
|
|
3481
|
+
if (response.status !== 200 && response.status !== 201) {
|
|
3482
3482
|
var error = {
|
|
3483
3483
|
description: codeMessage[response.status],
|
|
3484
3484
|
message: response.status
|