hurx 21 ore fa
parent
commit
4a26105dcc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/customer/info/detail.vue

+ 1 - 1
src/views/customer/info/detail.vue

@@ -2712,7 +2712,7 @@ const handleAddAddress = () => {
     shippingCity: '',
     shippingCounty: '',
     shippingAddress: '',
-    isSelf: '1'
+    isSelf: addressList.value.length ? '1' : '0'
   };
   selectedAddressRegion.value = [];
   addressDialogTitle.value = '添加地址';