mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 23:19:15 +08:00
types(AddressEdit): validator prop typing (#8284)
This commit is contained in:
parent
09e1eb5a0d
commit
08086c8002
@ -55,7 +55,9 @@ export default createComponent({
|
|||||||
areaList: Object as PropType<AreaList>,
|
areaList: Object as PropType<AreaList>,
|
||||||
isSaving: Boolean,
|
isSaving: Boolean,
|
||||||
isDeleting: Boolean,
|
isDeleting: Boolean,
|
||||||
validator: Function,
|
validator: Function as PropType<
|
||||||
|
(key: string, value: string) => string | undefined
|
||||||
|
>,
|
||||||
showDelete: Boolean,
|
showDelete: Boolean,
|
||||||
showPostal: Boolean,
|
showPostal: Boolean,
|
||||||
disableArea: Boolean,
|
disableArea: Boolean,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user