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出來
webupload 判斷是否存在exif中的gps數(shù)據(jù),我這么寫了為什么還是報(bào)錯(cuò)
慕虎7371278
2019-02-13 11:31:31