mo vor 2 Jahren
Ursprung
Commit
da8f49e362
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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}