需要跳转的组件 <router-link :to="/home/myConsult"></router-link> 显示跳转后的内容组件 <router-view></router-view> **亲测有效。如果喜欢的话记得点赞收藏哦~ **