hurx 21 時間 前
コミット
4a26105dcc
1 ファイル変更1 行追加1 行削除
  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 = '添加地址';