@aliyun-obv/api 0.0.43 → 0.0.45
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/api.es.js +1 -1
- package/package.json +3 -3
package/dist/api.es.js
CHANGED
|
@@ -730,7 +730,7 @@ slsEasyFetch.defaults.beforeRequest = (url, params, init, options) => __async$2(
|
|
|
730
730
|
});
|
|
731
731
|
slsEasyFetch.defaults.afterResponse = (r, options) => __async$2(void 0, null, function* () {
|
|
732
732
|
const { response, data } = r;
|
|
733
|
-
let composedData = __spreadProps$1(__spreadValues$1({}, data), {
|
|
733
|
+
let composedData = typeof data === "string" || typeof data === "number" || Array.isArray(data) ? data : __spreadProps$1(__spreadValues$1({}, data), {
|
|
734
734
|
response
|
|
735
735
|
});
|
|
736
736
|
let hasError = false;
|
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"urijs": "^1.19.1",
|
|
11
11
|
"lodash": "^4.17.21",
|
|
12
12
|
"@alicloud/console-base-error-prompt-proxy": "^1.9.12",
|
|
13
|
-
"@aliyun-obv/i18n": "0.0.
|
|
14
|
-
"@aliyun-obv/utils": "0.0.
|
|
13
|
+
"@aliyun-obv/i18n": "0.0.45",
|
|
14
|
+
"@aliyun-obv/utils": "0.0.45",
|
|
15
15
|
"@alifd/next": "^1.27.11",
|
|
16
16
|
"styled-components": "^5.2.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {},
|
|
19
|
-
"version": "0.0.
|
|
19
|
+
"version": "0.0.45"
|
|
20
20
|
}
|