ソースを参照

官网修改

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}