Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

dva多个model依赖同一个接口返回,怎么处理好?

初始化阶段,全局model需要先调用一个接口去获取id,然后页面model依赖此id进行后续的接口调用,怎么处理比较好? 如果在每个model都先调用这个公共接口,然后再紧接着调用自己后续的接口,感觉重复又有些麻烦。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...