You're right. It maybe due to multi-thread issue. The following code works:
handler: () => {
setTimeout(function () {
this_ref.nav.setRoot(LoginPage);
},500);
}
But I know it's not an elegant solution.
You're right. It maybe due to multi-thread issue. The following code works:
handler: () => {
setTimeout(function () {
this_ref.nav.setRoot(LoginPage);
},500);
}
But I know it's not an elegant solution.