-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
如何实现依赖性models的初始化 #1023
Comments
可以增加一个loading路由。判断请求服务器数据完成,之后再进入页面。 |
@xiaohuoni 有这方面的文档吗?谢谢。 |
@zhangqianliang 感觉我的方案也是临时性的。也有类似这个问题:‘设置延时的话,太不友好了’ |
@sorrycc 老大再看一眼吧!嘻嘻嘻 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现在有一个需求:
全局layouts的models app.js请求加载一些服务的配置信息。然后在其他children页面依赖models app.js的配置信息来请求具体的数据。请问这中依赖其他model数据的需求如何实现?谢谢。🙏。
现在直接在a页面的model层select app 的数据都是空的。设置延时的话,太不友好了。谢谢。🙏。
The text was updated successfully, but these errors were encountered: