-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
检查状态设置为TRUE时,res为空 #7
Comments
晚上我处理下,你们的接口都有通用的code和message是把? |
是,你的项目中,列表为空时,都无法展示空状态,你可以试一下(请求时,直接将size写最大) |
两个问题:1、检查状态true的问题修改好了,参照TestPage页面的ViewModel的调用方式,以前的demo写法有问题,导致promise对象不统一,所以你们获取的res是undefined,周末我对所有接口请求做个修改 2.自己页面没有针对结果检查的情况需要自己在页面的回调处理判空逻辑,因为没有统一的标准处理,比如每个页面的响应list名字可能不一样,所以这个目前只能这样处理 |
辛苦了 |
Open
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
解决了吗?我也遇到这个问题了,
作者的项目,我本地跑起来,列表为空时,空状态无法设置成功
res为空,请问怎么处理下
The text was updated successfully, but these errors were encountered: