标签:javascrip html ada 选择 url cti res 选择图片 err
plus.gallery.pick(function (filePath) {
plus.io.resolveLocalFileSystemURL(filePath, function (entry) {
console.log(‘resolveLocalFileSystemURL success‘)
entry.getMetadata(function (metaData) {
console.log(‘getMetadata success‘)
console.log(metaData.size)
}, function () {
console.error(‘getMetadata fail‘);
});
}, function () {
console.error(‘resolveLocalFileSystemURL fail‘)
});
});
标签:javascrip html ada 选择 url cti res 选择图片 err
原文地址:https://www.cnblogs.com/xiaoyucoding/p/9403499.html