zs 2 lat temu
rodzic
commit
af2fc2983d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pagesHome/order/order.vue

+ 1 - 1
pagesHome/order/order.vue

@@ -367,7 +367,7 @@
 					customer: user._id
 				})
 				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', {
 					key: that.key