react native打包后发生的问题

1.登录没响应**(本地调试可以 但是打包后有问题)**

需要http+域名+端口 而不是 https:域名

2.接口通了 但是返回的是乱码**(本地调试可以 但是打包后有问题)**

HTTP/1.1 200 Vary: origin,access-control-request-method,access-control-request-headers,accept-encoding X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0 X-Frame-Options: DENY Content-Encoding: gzip Content-Type: application/json Transfer-Encoding: chunked Date: Mon, 24 Nov 2025 08:31:13 GMT Keep-Alive: timeout=60 Connection: keep-alive a 200 Z[sE + y P ==7 ɖb dG Xc f䙑e9 KXX 5E [ K g"_ = 9 ZJ ET 2}; 9=ݷ $ X I D m *** FIDDLER: RawDisplay truncated at 128 characters. Right-click to disable truncation. ***

需要后端解压 不要压缩

相关推荐
5008440 分钟前
React Native for OpenHarmony 实战:三方库 react-native-torch 的鸿蒙化适配指南
javascript·react native·react.js·harmonyos
500842 小时前
React Native for OpenHarmony 实战:三方库 react-native-device-uptime 的鸿蒙化适配指南
javascript·分布式·react native·react.js·harmonyos
JudithHuang16 小时前
React 列表与表单
react.js
JudithHuang16 小时前
React Context 跨层传值
react.js
JudithHuang16 小时前
React useRef 与 DOM
react.js
JudithHuang16 小时前
React useReducer 复杂状态
react.js
JudithHuang16 小时前
React 组件与 Props
react.js