在vue中将点击事件和页面切换进行绑定

标签添加router属性
在页面中添加标签,它是一个容器,动态渲染你选择的router
标签的index值就是要跳转的router

猜你喜欢

转载自blog.csdn.net/liulang68/article/details/107406953