Results 1 comments of showlotus

我也遇到这个问题了,是组件内部的 `changeCrop` 方法里面关于两个浮点数之间的比较,有点问题@xyxiao001 。我加了一个判断: ![image](https://user-images.githubusercontent.com/56748472/192416572-d359d007-1ed7-4e10-b496-c81cb8a44fb0.png) 在组件创建完实例阶段,把组件 `methods` 里的 `changeCrop` 换成自己的就可以了: ```js import { VueCropper } from "vue-cropper"; export default { /* ... */ methods: { /* ... */ fixVueCropperChangeCrop() {...