vtils

Home > utils > WechatChooseImageParams

WechatChooseImageParams interface

Signature:

export declare interface WechatChooseImageParams 

Properties

Property Modifiers Type Description
count?   number <p>(Optional) 选择图片数量。</p><p> 9</p>
sizeType?   Array<‘original’ | ‘compressed’> <p>(Optional) 图片质量,可以指定是原图还是压缩图。</p><p> [‘original’, ‘compressed’]</p>
sourceType?   Array<‘album’ | ‘camera’> <p>(Optional) 选择来源,可以指定是相册还是相机。</p><p> [‘album’, ‘camera’]</p>