摘要: 1 <script> 2 import axios from 'axios'; 3 export default { 4 name: 'CartItem', 5 data () { 6 return { 7 lists:[ 8 9 ] 10 } 11 }, 12 methods:{ 13 getda 阅读全文
posted @ 2020-12-02 17:58 xueting_lucky 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1 <router-link to="/layout/home"> 2 <el-button type="primary">返回</el-button> 3 </router-link> 上代码可实现点击返回按钮就会跳转到/layout/home页面 阅读全文
posted @ 2020-12-02 17:56 xueting_lucky 阅读(426) 评论(0) 推荐(0) 编辑