mirror of
https://github.com/youzan/vant.git
synced 2025-12-22 01:07:29 +08:00
[Improvement] AddressEdit: add focus、change-area、select-search events (#426)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
>
|
||||
<div slot="icon">
|
||||
<span v-if="showIcon && isAndroid" class="van-address-edit-detail__finish-edit">{{ $t('complete') }}</span>
|
||||
<icon v-else-if="showIcon" name="clear" />
|
||||
<icon v-else-if="showIcon" name="clear" />
|
||||
</div>
|
||||
</field>
|
||||
|
||||
@@ -101,6 +101,7 @@ export default create({
|
||||
|
||||
onSuggestSelect(express) {
|
||||
this.$emit('input', `${express.address || ''} ${express.name || ''}`.trim());
|
||||
this.$emit('select-search', express);
|
||||
},
|
||||
|
||||
isString(str) {
|
||||
|
||||
Reference in New Issue
Block a user