when i use login i need to reload mainView,how can i do it?
Use reloadCurrent > https://framework7.io/docs/routes.html#route-options
mainView.router.refreshPage();