vue-router跳转

【一】步骤

(1)新建导航组件

(2)根组件引入

(3)也可以动态传递url

【注意】

(1)a链接与router-link对比

(2)其他写法

.

猜你喜欢

转载自www.cnblogs.com/jianxian/p/11965441.html