Comments (4)
请定位到出错的代码行,整篇代码贴上来怎么看,从栈中看,貌似都不是dio的问题....
from dio.
说了是访问 response.data
报错阿,在 VSCode 调试器里在 return TangboleApiResponse.fromJson(response.data);
行设置断点,观测 response 变量就报错。
不贴整篇代码难道只贴一行?还没细看就说不是项目的问题,有哪里不清楚提出来就是,别一脸抱怨。提过不少 Issue,发现国人的开源项目对待 Issue 是最不耐心的。Issue 不仅仅是在帮助使用者,同时使用者也在帮助项目改进!
from dio.
The reason is founded, I switched to beta (previous using dev) channel fixed this problem.
from dio.
- 首先你贴的代码里response.data有好几处,具体那一句不明确。
- 任何issue都不会整篇代码往上贴,无论是国内还是国外,如果代码都是必要的,较长,都会在贴完代码后说明哪一行或那一句有问题(如果你上stackoverflow自己应该意识到)。这样可以节省看你issue人的时间。
- 从栈中确实看不到dio内部代码报错信息。
- 贴整篇代码总有把自己项目问题扔给其他人解决之嫌。
- 本人只代表个人,即使本人态度不好,也无关国人,这对为开源社区做贡献的其他人不公平。本项目是为了共同学习,请勿在本项目下贴这种言论,谁都没有义务免费给别人写代码,大家做开源项目,本都是抱有分享之心,这样的言论不利于交流。
- 如果我去一家店,我觉得服务态度不好,我完全可以扭头就走,再说,服务员只是多问了我一句有无忌口。
from dio.
Related Issues (20)
- Error Dio flutter web HOT 1
- upload file send timeout
- Header is out of order HOT 3
- `ResponseType.stream` is not working on web. HOT 1
- [🔔 Dio] sendTimeout cannot be used without a request body to send HOT 2
- `Transformer.isJsonMimeType` throws format exceptions without caught
- onError is not returning any error HOT 3
- Error when uploading image using MultipartFile.fromBytes in version 5.4.3+1 HOT 1
- 为什么dio的fromMap会将MultipartFile自动放入files字段中 HOT 1
- Error: The method 'debugLog' isn't defined for the class 'BrowserHttpClientAdapter'. HOT 1
- Version 5.5.0 brakes the web build HOT 1
- Is it now possible to use DIO / dio_web_adapter with Web/WASM? HOT 41
- Dio 5.5 broke compilation for WASM HOT 6
- ResponseType.stream returns responce all at once on Web HOT 1
- Date header not parsed correctly HOT 1
- set proxy for BrowserHttpClientAdapter HOT 1
- Dio fetch can't catch error HOT 1
- Return the app to the desktop, then switch to Wi Fi in the system. After switching to Wi Fi, click on the desktop app icon to enter the app. At this point, there is an exception when sending network requests. This is highly likely to occur on Ios HOT 5
- when using "handler.reject(error);" in onError of interceptors, I cannot DioException in .catchError(), but find it in .then(). HOT 1
- Dio cannot connect to the Internet after VPN is enabled on iOS devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dio.