Code Monkey home page Code Monkey logo

Comments (4)

WinWang avatar WinWang commented on June 25, 2024

晚上我处理下,你们的接口都有通用的code和message是把?

from harmoneyopeneye.

xhg221 avatar xhg221 commented on June 25, 2024

是,你的项目中,列表为空时,都无法展示空状态,你可以试一下(请求时,直接将size写最大)
辛苦啦,期待上线

from harmoneyopeneye.

WinWang avatar WinWang commented on June 25, 2024

两个问题:1、检查状态true的问题修改好了,参照TestPage页面的ViewModel的调用方式,以前的demo写法有问题,导致promise对象不统一,所以你们获取的res是undefined,周末我对所有接口请求做个修改 2.自己页面没有针对结果检查的情况需要自己在页面的回调处理判空逻辑,因为没有统一的标准处理,比如每个页面的响应list名字可能不一样,所以这个目前只能这样处理

from harmoneyopeneye.

xhg221 avatar xhg221 commented on June 25, 2024

辛苦了

from harmoneyopeneye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.