natjs / nat

A powerful kit for adding native functionalities to your weex app.
http://natjs.com
282 stars 25 forks source link

Nat.image.pick的limit参数设置无效 #52

Open yexiaodong opened 6 years ago

yexiaodong commented 6 years ago

代码: Nat.image.pick({ limit: 5, showCamera: true }, (err, ret) => { if(err){ Nat.toast('【错误信息】'+JSON.stringify(err)); return; } obj.callBack(err,ret,ret.paths); });

说明:limit设置为5,但是在相册中选择了一张图片就返回了,无法选择多张