I'm currently working with a Sencha Touch localized app, and all of the string values such as titles, labels and forms are generated on launch, meaning that if I want to switch the language I need to reload the whole app.
Is there a way I can restart/reload the whole application or views without refreshing the browser?
您始终可以在Ext.Application
类中触发launch event
,这将调用所有应用程序初始化代码而无需刷新浏览器
尝试使用本机JavaScript代码重新加载会话,即
location.reload();
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.