mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-20 13:29:16 +08:00
types(Uploader): preview-options images should be optional (#10698)
This commit is contained in:
parent
2765ff5555
commit
bab0636014
@ -74,7 +74,7 @@ const uploaderProps = {
|
||||
Numeric | [Numeric, Numeric]
|
||||
>,
|
||||
previewImage: truthProp,
|
||||
previewOptions: Object as PropType<ImagePreviewOptions>,
|
||||
previewOptions: Object as PropType<Partial<ImagePreviewOptions>>,
|
||||
previewFullImage: truthProp,
|
||||
maxSize: {
|
||||
type: [Number, String, Function] as PropType<UploaderMaxSize>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user