diff --git a/packages/shop/addAddress/index.vue b/packages/shop/addAddress/index.vue index 0d3f3f5d..1ca9eeda 100644 --- a/packages/shop/addAddress/index.vue +++ b/packages/shop/addAddress/index.vue @@ -222,10 +222,9 @@ export default { }) return } - console.log("🚀 ~ headerSubmitClick ~ type:", this.type) if(this.type === 'edit') { const res = await request(apiArr2.updateAddress, "POST", { - user_id: this.id, + id: this.id, name: this.name, phone: this.phone, address: this.tab === 0 ? this.orientation.region + this.orientation.district : `${confirmProv1.short_name}${xsq.short_name ? xsq.short_name : confirmCity.short_name}${confirmDist.short_name}`,