diff --git a/src/utils/http.ts b/src/utils/http.ts index 1a3d1a5..04cd7a4 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -54,7 +54,9 @@ export const http = (options: CustomRequestOptions) => { uni.request({ ...options, dataType: 'json', + // #ifndef MP-WEIXIN responseType: 'json', + // #endif // 响应成功 success(res) { // 状态码 2xx,参考 axios 的设计