zs 2 years ago
parent
commit
af2fc2983d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pagesHome/order/order.vue

+ 1 - 1
pagesHome/order/order.vue

@@ -367,7 +367,7 @@
 					customer: user._id
 					customer: user._id
 				})
 				})
 				if (res.errcode == '0') {
 				if (res.errcode == '0') {
-					that.$set(that, `addressList`, res.data);
+					that.$set(that, `addressList`, res.data.reverse());
 				}
 				}
 				const arr = await that.$api(`/order/toMakeOrder`, 'POST', {
 				const arr = await that.$api(`/order/toMakeOrder`, 'POST', {
 					key: that.key
 					key: that.key