Skip to content

Commit

Permalink
添加售后详情状态显示,添加订单根据id查询
Browse files Browse the repository at this point in the history
  • Loading branch information
滑稽刘 authored and gitee-org committed Jun 27, 2020
1 parent 7ff311b commit 9d2c07a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions litemall-admin/src/views/mall/order.vue
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,11 @@ export default {
if(this.listQuery.orderId){
detailOrder(this.listQuery.orderId).then(response => {
this.list = [];
this.list.push(response.data.data.order)
this.listLoading = false
if(response.data.data.order){
this.list.push(response.data.data.order);
this.total = 1;
this.listLoading = false
}
}).catch(() => {
this.list = []
this.total = 0
Expand Down

0 comments on commit 9d2c07a

Please sign in to comment.