fix: wx 请求不显示bug

This commit is contained in:
菲鸽 2024-03-07 19:09:34 +08:00
parent d392710377
commit 44878e441c

View File

@ -54,7 +54,9 @@ export const http = <T>(options: CustomRequestOptions) => {
uni.request({
...options,
dataType: 'json',
// #ifndef MP-WEIXIN
responseType: 'json',
// #endif
// 响应成功
success(res) {
// 状态码 2xx参考 axios 的设计