From e2cf8b224bddd558526573cb3414e1a2ee08580e Mon Sep 17 00:00:00 2001 From: Paidax Date: Fri, 19 Dec 2025 16:17:56 +0800 Subject: [PATCH] =?UTF-8?q?pref#hmc=5F=E7=A6=8F=E5=88=A9=E4=BB=A3=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/views/platform/welfare/list/ListMange.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/views/platform/welfare/list/ListMange.html b/src/main/resources/views/platform/welfare/list/ListMange.html index 4691a39..c87ddaf 100644 --- a/src/main/resources/views/platform/welfare/list/ListMange.html +++ b/src/main/resources/views/platform/welfare/list/ListMange.html @@ -1046,8 +1046,10 @@ layout("/layouts/platform.html"){ // 回显默认地址 if (this.addressOptions) { const address = this.addressOptions.find(a => a.isDefault) - this.$set(this.formData, "addressId", address.id) - this.$set(this.editWelfareData, "receiveAddress", address.name) + if (address) { + this.$set(this.formData, "addressId", address.id) + this.$set(this.editWelfareData, "receiveAddress", address.name) + } } }, addressChange(val) {