G2A Many GEOs
SHARE
TWEET

vue router.push

krot Mar 7th, 2020 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.$router.push({name:this.menuItems[index].name},  
  2.                                                   () => {
  3.                                                    // window.alert('success') /* success triggered */
  4.                                                   },
  5.                                                   () => {
  6.                                                    // window.alert('fail')
  7.                                                   }
  8.                                                  
  9.   );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top