[new feature] AddressEdit: add detail-maxlength prop (#3707)

This commit is contained in:
neverland
2019-07-01 15:27:54 +08:00
committed by GitHub
parent bb43ff270d
commit 2cda962bdb
4 changed files with 11 additions and 1 deletions

View File

@@ -49,6 +49,10 @@ export default createComponent({
type: Number,
default: 1
},
detailMaxlength: {
type: Number,
default: 200
},
addressInfo: {
type: Object,
default: () => ({ ...defaultData })
@@ -263,6 +267,7 @@ export default createComponent({
value={data.addressDetail}
error={errorInfo.addressDetail}
detailRows={this.detailRows}
detailMaxlength={this.detailMaxlength}
searchResult={this.searchResult}
showSearchResult={this.showSearchResult}
onFocus={onFocus('addressDetail')}