We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"mpvue-cropper": "^0.2.3"
7.0.10
1、在uni-app中npm安装mpvue-cropper 2、使用Usage example示例组件 3、使用时能正确显示界面,但是选中相片后就会报错。
选中相片后能正常使用
选中相片后能出现js错误 thirdScriptError Cannot read property 'pushOrign' of undefined;at api chooseImage success callback function TypeError: Cannot read property 'pushOrign' of undefined at VueComponent.pushOrigin (http://127.0.0.1:42198/appservice/node-modules/[email protected]@mpvue-cropper/mpvue-cropper.js:194:27) at success (http://127.0.0.1:42198/appservice/pages/tone/avatar.js:252:25) at Function.o.(anonymous function) (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:1182257) at Object.success (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:108166) at r (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:436734) at http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:436911 at v (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:436920) at http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:438362 at t. (http://127.0.0.1:42198/appservice/__dev__/asdebug.js:1:12078) at http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:108166
The text was updated successfully, but these errors were encountered:
将mpvue-cropper.vue里的onLoad改成created试试,触摸的$event.mp可能也要改成$event.mpEvent
mpvue-cropper.vue
onLoad
created
$event.mp
$event.mpEvent
Sorry, something went wrong.
No branches or pull requests
we-cropper 版本
"mpvue-cropper": "^0.2.3"
对应工具或者iOS或者Andriod的版本号
7.0.10
微信版本号
7.0.10
重现步骤
1、在uni-app中npm安装mpvue-cropper
2、使用Usage example示例组件
3、使用时能正确显示界面,但是选中相片后就会报错。
期待的行为
选中相片后能正常使用
实际的行为
选中相片后能出现js错误
thirdScriptError
Cannot read property 'pushOrign' of undefined;at api chooseImage success callback function
TypeError: Cannot read property 'pushOrign' of undefined
at VueComponent.pushOrigin (http://127.0.0.1:42198/appservice/node-modules/[email protected]@mpvue-cropper/mpvue-cropper.js:194:27)
at success (http://127.0.0.1:42198/appservice/pages/tone/avatar.js:252:25)
at Function.o.(anonymous function) (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:1182257)
at Object.success (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:108166)
at r (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:436734)
at http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:436911
at v (http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:436920)
at http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:438362
at t. (http://127.0.0.1:42198/appservice/__dev__/asdebug.js:1:12078)
at http://127.0.0.1:42198/appservice/__dev__/WAService.js:1:108166
The text was updated successfully, but these errors were encountered: