@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
|
@@ -3484,7 +3484,7 @@ axios.interceptors.response.use(function (response) {
|
|
|
3484
3484
|
// Do something with response data
|
|
3485
3485
|
// console.log(response, 'response!!!!!!');
|
|
3486
3486
|
// NProgress.done();
|
|
3487
|
-
if (response.status !== 200) {
|
|
3487
|
+
if (response.status !== 200 && response.status !== 201) {
|
|
3488
3488
|
var error = {
|
|
3489
3489
|
description: codeMessage[response.status],
|
|
3490
3490
|
message: response.status
|