- 博客(1)
- 收藏
- 关注
转载 vue2.0去除url中的#/
// 例子,自行對應到你項目的代碼 const router = new VueRouter({ routes, mode: 'history', scrollBehavior (to, from, savedPosition) { // 如果你的連結是帶 # 這種 // to.hash 就會有值(值就是連結) // 例如 #3 if (...
2018-04-10 14:18:49
2920
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人