@hzab/data-model 1.2.0 → 1.2.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # @hzab/data-model@1.2.1
2
+
3
+ - fix: setAxTimeout default timeout 0
4
+
1
5
  # @hzab/data-model@1.2.0
2
6
 
3
7
  - feat: 增删改查 axiosConf 允许独立配置 xxxAxiosConf。如: createAxiosConf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzab/data-model",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "data model",
5
5
  "main": "src",
6
6
  "scripts": {
package/src/axios.js CHANGED
@@ -101,7 +101,7 @@ export function setAxHeaders(key, val) {
101
101
  * 设置 timeout
102
102
  * @param {number} timeout
103
103
  */
104
- export function setAxTimeout(timeout = 5000) {
104
+ export function setAxTimeout(timeout = 0) {
105
105
  setAxDefaults("timeout", timeout);
106
106
  }
107
107