|
[App引擎]
api.getPicture方法allowEdit:不起作用
[复制链接]
http://docs.apicloud.com/%E7%AB%AFAPI/api#20
- api.getPicture({
- sourceType: 'camera',
- encodingType: 'jpg',
- mediaValue: 'pic',
- destinationType: 'url',
- allowEdit: true,
- quality: 50,
- targetWidth:100,
- targetHeight:100,
- saveToPhotoAlbum: false
- }, function(ret, err){
- if (ret) {
- api.alert({msg:ret.data});
- } else{
- api.alert({msg:err.msg});
- };
- });
复制代码
|
|