Showing
1 changed file
with
3 additions
and
3 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-03-29 15:27:02 | 2 | * @Date: 2023-03-29 15:27:02 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-11-21 11:42:22 | 4 | + * @LastEditTime: 2025-02-05 14:27:37 |
| 5 | * @FilePath: /data-table/src/components/AreaPickerField/MyComponent.vue | 5 | * @FilePath: /data-table/src/components/AreaPickerField/MyComponent.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -65,10 +65,10 @@ const onClick = () => { | ... | @@ -65,10 +65,10 @@ const onClick = () => { |
| 65 | 65 | ||
| 66 | const result_value = computed(() => { | 66 | const result_value = computed(() => { |
| 67 | return { | 67 | return { |
| 68 | - address: fieldValue.value + ' ' + address.value, | 68 | + address: fieldValue.value + (show_address.value ? ' ' + address.value : ''), |
| 69 | city_code: city_code.value, | 69 | city_code: city_code.value, |
| 70 | picker_value: fieldValue.value, | 70 | picker_value: fieldValue.value, |
| 71 | - input_value: address.value, | 71 | + input_value: show_address.value ? address.value : '', |
| 72 | } | 72 | } |
| 73 | }) | 73 | }) |
| 74 | 74 | ... | ... |
-
Please register or login to post a comment