vevillive's recent timeline updates
vevillive

vevillive

V2EX member #479106, joined on 2020-03-26 18:53:30 +08:00
vevillive's recent replies
Apr 13, 2020
Replied to a topic by Bramblex2 程序员 后端接口这样设计是否合理
若是返数是这样的结构,那么,前端展示应该是取 a 、b 、c 的值,这时候,前端顺便判空就好了,因为还有可能 a 、b 、c 只有某个为空的情况。当然,要后端判断全为空的时候给你个空或者不给也行,但是前端的逻辑又要加多一层判断
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5249 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 09:02 · PVG 17:02 · LAX 02:02 · JFK 05:02
♥ Do have faith in what you're doing.