1、通过函数先获取动态的ID,通过$router.push()跳转到动态页面;
3、在router.js中设定特定的路由值,让<router-view name=’detail’> 只渲染nema为detail的组件;