We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 538e1fb commit 6f08b78Copy full SHA for 6f08b78
src/utils/http.ts
@@ -7,7 +7,7 @@ export const http = <T>(options: CustomRequestOptions) => {
7
uni.request({
8
...options,
9
dataType: 'json',
10
- responseType: 'json',
+ responseType: 'text',
11
// 响应成功
12
success(res) {
13
// 状态码 2xx,参考 axios 的设计
0 commit comments