uploader.on('beforeFileQueued', function (file) {
WebUploader.Runtime.Html5.Util.parseMeta(file.source, function (error, ret) {
var lat = ret.exif.get(0x0002);
var lon = ret.exif.get(0x0004);
if (lat !== undefined || lon !== undefined) {
console.log(lat);
}else {
return false;
}
});
});
我感觉是没有return出来
侃侃无极
相关分类