Comments (4)
晚上我处理下,你们的接口都有通用的code和message是把?
from harmoneyopeneye.
是,你的项目中,列表为空时,都无法展示空状态,你可以试一下(请求时,直接将size写最大)
辛苦啦,期待上线
from harmoneyopeneye.
两个问题:1、检查状态true的问题修改好了,参照TestPage页面的ViewModel的调用方式,以前的demo写法有问题,导致promise对象不统一,所以你们获取的res是undefined,周末我对所有接口请求做个修改 2.自己页面没有针对结果检查的情况需要自己在页面的回调处理判空逻辑,因为没有统一的标准处理,比如每个页面的响应list名字可能不一样,所以这个目前只能这样处理
from harmoneyopeneye.
页
辛苦了
from harmoneyopeneye.
Related Issues (20)
- 作者考虑适配下API11吗 HOT 1
- 建议网络请求封装增加个缓存处理。
- 请问 证书文件缺失 如何修复 HOT 3
- 看到代码中用到较多的【any】,这个在DevEco4.0版本已经强制不允许了,请问是否用有改动方案 HOT 3
- 你们去那下载开发环境4.0,api11的鸿蒙开发工具的?
- 可以PR吗?有PR要求吗 HOT 1
- 真机下拉刷新崩溃
- axios网络请求的封装的自定义header怎么设置? HOT 4
- 联通列表这一块没有跟着一起联动啊,兄弟,考虑优化一下吗? HOT 1
- 针对单独接口进行catch处理,比如这个接口报错了,弹窗处理 HOT 2
- axios 请求的时候都要带那个headers怎么优化一下?或者有什么建议吗? HOT 1
- 大佬,CoordinateLayout的实现要是嵌套grid或者WaterFlow就会有滑动冲突,请问有什么好的解决方案么 HOT 5
- 可以适配鸿蒙next吗,在api11下 http文件夹下都在报错。不会改啊 HOT 6
- 大佬,项目里 全局loading实现,只能在MainPage里,那如果在登录页面,没有在MainPage里的其它页面,就不能使用这个了 HOT 8
- Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names) <ArkTSCheck> HOT 2
- 不知道是不是电脑不行 运行模拟器卡得很 HOT 3
- 预览报错,一直无法预览 HOT 2
- post请求,后台无法获取到传参 HOT 1
- 运行不了 HOT 1
- CoordinateLayout在4.1是不是有官方的的实现了 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 harmoneyopeneye.