You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: DioException [connection error]: The connection errored: The XMLHttpRequest onError callback was called. This typically indicates an error on the network layer. This indicates an error which most likely cannot be solved by the library.
#55
Open
Lillls opened this issue
Apr 15, 2024
· 2 comments
我用的是 flutter web 好像是跨域的问题
Access to XMLHttpRequest at 'https://xiaoyu-ipic.oss-cn-beijing.aliyuncs.com/text.png' from origin 'http://localhost:57016' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
调用提示DIO错误,请问如何解决
The text was updated successfully, but these errors were encountered: