Skip to content

Commit

Permalink
feat: Cropper optimize: cropBoxMovale: false
Browse files Browse the repository at this point in the history
  • Loading branch information
komomoo committed Jul 8, 2019
1 parent d2062fb commit ee71611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SlimCropper/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ export default {
init () {
const options = {
viewMode: 1, // 限制裁剪框不超过画布的大小
dragMode: 'none', // 移动画布
dragMode: 'move', // 移动画布
cropBoxMovable: false, // 通过拖动移动裁剪框
guides: false, // 裁剪框虚线
center: false, // 裁剪框中心线
background: false, // 容器网格背景
Expand Down

0 comments on commit ee71611

Please sign in to comment.