好用的图片裁剪插件vue-cropper
vue-cropper图片裁剪插件文档:https://github.com/xyxiao001/vue-cropper#vue-cropper
效果预览http://github.xyxiao.cn/vue-cropper/example/
问题:无法改变裁剪框大小和位置
其中:img="option.img" 的赋值必须在 el-dialog 的open回调方法中进行,否则就会出现以上的问题(这里用的是element的弹窗)
vue-cropper图片裁剪插件文档:https://github.com/xyxiao001/vue-cropper#vue-cropper
效果预览http://github.xyxiao.cn/vue-cropper/example/
其中:img="option.img" 的赋值必须在 el-dialog 的open回调方法中进行,否则就会出现以上的问题(这里用的是element的弹窗)