使用vue想要實現(xiàn)拍照預(yù)覽的功能,在獲取到圖片之后,使用lrz獲取圖片的base64碼,下面是源碼: createImage: function(file, e) { lrz(file[0], { width: 480 }).then(function(result) { console.log("file**"+result.base64); }); },然后報錯見截圖:在另一個js中文件(mobileFix.mini.js)中我找到了 I()方法,我做了引入處理 即:import {I} from '../../static/js/mobileFix.mini.js';但還有有這個錯誤,請問如何解決,或者有其他的方法實現(xiàn)這個功能?
vue使用lrz處理圖片出錯,__webpack_require__.i(...) is not a
元芳怎么了
2018-12-19 17:19:26