vue实现页面的跳转之router-link


1
<router-link to="/layout/home"> 2 <el-button type="primary">返回</el-button> 3 </router-link>

上代码可实现点击返回按钮就会跳转到/layout/home页面

原文地址:https://www.cnblogs.com/chenxueting/p/14075314.html