From 1e3a799bdb0c83bf9ba620a4d43ee3c85aa525e6 Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Mon, 29 Aug 2022 17:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=93=E8=B4=A6=E8=B4=A6?= =?UTF-8?q?=E5=8D=95=E5=9C=B0=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, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/checkout.blade.php b/themes/default/checkout.blade.php index 238a7523..ccbc609d 100644 --- a/themes/default/checkout.blade.php +++ b/themes/default/checkout.blade.php @@ -321,8 +321,8 @@ $http[type](url, this.dialogAddress.form).then((res) => { if (type == 'post') { this.source.addresses.push(res.data) - this.updateCheckout(res.data.id, this.dialogAddress.form.type) - this.form[this.dialogAddress.form.type] = res.data.id + this.updateCheckout(res.data.id, this.dialogAddress.type) + this.form[this.dialogAddress.type] = res.data.id } else { this.source.addresses[this.dialogAddress.index] = res.data