From b82a2c27960c11787ade9230d7df5c437c61a3e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com>
Date: Thu, 23 Oct 2025 11:12:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=A6=E7=BB=86=E5=9C=B0?=
=?UTF-8?q?=E5=9D=80=E5=A4=84=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/form-input/components/form-input/address.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pages/form-input/components/form-input/address.vue b/pages/form-input/components/form-input/address.vue
index 072ad1f6..113850d1 100644
--- a/pages/form-input/components/form-input/address.vue
+++ b/pages/form-input/components/form-input/address.vue
@@ -13,7 +13,7 @@
-
+
@@ -55,7 +55,7 @@
placeholder: '请选择内容...',
address_type: '',
form_value: '',
- detailed_value: '',
+ address: '',
com_data: {},
region_picker_show: false,
province_id: '',
@@ -90,7 +90,7 @@
address_type: com_data.address_type || 'noDetailed',
placeholder: com_data.placeholder,
form_value: com_data.form_value ,
- detailed_value: com_data?.detailed_value || '',
+ address: com_data?.address || '',
province_id: com_data?.form_value[0] || '',
city_id: com_data?.form_value[1] || '',
county_id: com_data?.form_value[2] || '',
@@ -152,14 +152,14 @@
input_value_event(e) {
// 重新编辑一下历史数据
this.setData({
- detailed_value: e.detail.value,
+ address: e.detail.value,
});
this.$emit('dataAddressChange', { value: e.detail.value, id: this.propDataId });
},
input_value_blur(e) {
// 重新编辑一下历史数据
this.setData({
- detailed_value: e.detail.value,
+ address: e.detail.value,
});
this.$emit('dataAddressBlur', { value: e.detail.value, id: this.propDataId });
},