mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
feat(address-edit): add area-columns-placeholder props (#4582)
This commit is contained in:
@@ -68,6 +68,10 @@ export default createComponent({
|
||||
postalValidator: {
|
||||
type: Function,
|
||||
default: isPostal
|
||||
},
|
||||
areaColumnsPlaceholder: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
|
||||
@@ -336,6 +340,7 @@ export default createComponent({
|
||||
loading={!this.areaListLoaded}
|
||||
value={data.areaCode}
|
||||
areaList={this.areaList}
|
||||
columnsPlaceholder={this.areaColumnsPlaceholder}
|
||||
onConfirm={this.onAreaConfirm}
|
||||
onCancel={() => {
|
||||
this.showAreaPopup = false;
|
||||
|
Reference in New Issue
Block a user