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 });
},