Closed kangxiaojun closed 6 years ago
能提供具体图片吗
或者说是哪一类的图片会这样
您好: 这个报错很奇怪,JPG格式的图片有些能裁剪,有些不能裁剪;
我找到原因了,npm install后node_modules/vue-cropper/dist/index.js中的问题,把index.js格式化后第712行的n用var声明一下就不会报错了;
附件中是上传报错的图片. 谢谢!
在 2018-05-10 18:17:12,"goodboy" notifications@github.com 写道:
或者说是哪一类的图片会这样
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
好的 我去看看
报错信息如下: Uncaught ReferenceError: n is not defined at m (index.js?a9c4:712) at v (index.js?a9c4:718) at h (index.js?a9c4:615) at o (index.js?a9c4:576) at c (index.js?a9c4:588) at Function.S.getData (index.js?a9c4:1154) at Image.o.onload (index.js?a9c4:205)