Quantcast
Viewing all articles
Browse latest Browse all 229907

Problem to call setRoot in my Alert callback

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.


Viewing all articles
Browse latest Browse all 229907

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>