瀏覽代碼

官网修改

1
mo 2 年之前
父節點
當前提交
da8f49e362
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/components/col-cropper/cropper.tsx

+ 2 - 1
src/components/col-cropper/cropper.tsx

@@ -204,7 +204,8 @@ export default defineComponent({
               ref="cropperRef"
               img={this.options.img}
               info={true}
-              autoCrop={this.options.autoCrop}
+              autoCrop={true}
+              centerBox={true}
               autoCropWidth={this.options.autoCropWidth}
               full={this.options.full}
               outputType={this.options.outputType}