I am facing an issue that data is not populating in combo boxes in page load.
My query is that how to render template after getting necessary data in component in angular 2 ?
您可以在任何事件下重新加载/渲染模板,只需遵循以下代码
AppComponent.reload.detectChanges();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.