plus.camera.getCamera()
.captureImage(
function(p){
// cb && cb(p);
//路径转化
plus
.io
.resolveLocalFileSystemURL( p, ( entry ) => {
cb(entry.toLocalURL());
});
},
error || function(error){
window.console.log(JSON.stringify(error));
}
);
l***@qq.com
- 发布:2016-12-23 18:56
- 更新:2016-12-23 18:56
- 阅读:982
0 个回复