1 <router-link to="/layout/home"> 2 <el-button type="primary">返回</el-button> 3 </router-link>
上代码可实现点击返回按钮就会跳转到/layout/home页面
vue实现页面的跳转之router-link
原文:https://www.cnblogs.com/chenxueting/p/14075314.html