feat(address-edit): add area-columns-placeholder props (#4582)

This commit is contained in:
Jake
2019-09-26 10:12:47 +08:00
committed by neverland
parent 8740376218
commit 7ad6c324f8
3 changed files with 7 additions and 0 deletions

View File

@@ -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;