添加售后详情状态显示,添加订单根据id查询

This commit is contained in:
滑稽刘
2020-06-27 15:23:15 +08:00
committed by Gitee
parent 7ff311b604
commit 9d2c07a11f

View File

@@ -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