ztxkutils 2.5.2 → 2.5.5

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.
@@ -1,8 +1,9 @@
1
1
  import { b as __rest, _ as __assign } from './tslib.es6-f9459658.js';
2
2
  import axios from 'axios';
3
3
  import { message } from 'ztxkui';
4
- import { c as commonjsGlobal, a as crypto } from './crypto-c481f616.js';
4
+ import { c as commonjsGlobal } from './_commonjsHelpers-bdec4bbd.js';
5
5
  import { g as getToken, a as getRefreshToken, s as setToken, b as setRefreshToken } from './authority-fad2028d.js';
6
+ import crypto from './crypto.js';
6
7
 
7
8
  /**
8
9
  * Removes all key-value entries from the list cache.
@@ -2545,6 +2546,9 @@ axios.interceptors.response.use(function (response) {
2545
2546
  return Promise.resolve(response);
2546
2547
  }
2547
2548
  }
2549
+ else if (response.status === 201) {
2550
+ return Promise.resolve(response);
2551
+ }
2548
2552
  else {
2549
2553
  return Promise.reject(response);
2550
2554
  }