[improvement] props default value (#2183)
This commit is contained in:
@@ -144,6 +144,7 @@ export default create({
|
||||
validator: Function,
|
||||
showDelete: Boolean,
|
||||
showPostal: Boolean,
|
||||
searchResult: Array,
|
||||
showSetDefault: Boolean,
|
||||
showSearchResult: Boolean,
|
||||
saveButtonText: String,
|
||||
@@ -164,10 +165,6 @@ export default create({
|
||||
type: Object,
|
||||
default: () => ({ ...defaultData })
|
||||
},
|
||||
searchResult: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
telValidator: {
|
||||
type: Function,
|
||||
default: validateMobile
|
||||
|
||||
Reference in New Issue
Block a user