mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
[Improvement] AddressEdit: add default slot (#573)
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
:error="errorInfo.postal_code"
|
||||
@focus="onFocus('postal_code')"
|
||||
/>
|
||||
<slot />
|
||||
<switch-cell
|
||||
v-if="showSetDefault"
|
||||
v-show="!hideBottomFields"
|
||||
@@ -158,6 +159,7 @@ export default create({
|
||||
hideBottomFields() {
|
||||
return this.searchResult.length && this.detailFocused;
|
||||
},
|
||||
|
||||
computedAddressText() {
|
||||
return this.addressText || this.$t('addressText');
|
||||
}
|
||||
|
Reference in New Issue
Block a user