如何在main.js或者在router.js文件里用 路由的.push() .replace()方法,怎么個寫法。也就是組件以外的地方用router跳轉。試了很多次,要么不起作用,要么就報錯
.push() .replace()方法
慕容708150
2018-07-05 21:21:20