From 949bd999461f71ac31ea218bf78e76646f20e2b0 Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Mon, 29 Aug 2022 18:24:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=A6=E5=8D=95=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/default/checkout.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/default/checkout.blade.php b/themes/default/checkout.blade.php index ccbc609d..45f161d5 100644 --- a/themes/default/checkout.blade.php +++ b/themes/default/checkout.blade.php @@ -357,6 +357,10 @@ return } + if (key == 'shipping_address_id' && this.same_as_shipping_address) { + this.form.payment_address_id = id + } + this.form[key] = id $http.put('/checkout', this.form).then((res) => {