订单成功页面功能实现

image.png 一、获取订单详情 首先从页面的url中获取orderId(上个页面传过来的),而后将orderId的参数传过去,而后从后端获取订单详情的orderTotal前端 mounted(){ this.orderId=this.$route.query.orderId; axios.get('users/orderDetail',{
相关文章
相关标签/搜索