The first time i login into my application, it will transit to application index and from there I want to transit to my home route. The issue is that the application-loading and its corresponding template won't be triggered. I was wondering what i am missing here. I have noticed that if i am in my home route and i refresh the page, it will trigger application-loading substate.
答案 0 :(得分:0)
return true
路由index
功能中 action.loading
,以便在该加载挂钩触发后,该事件将继续冒泡到您的应用路径。