Browse Source

官网修改

1
mo 2 years ago
parent
commit
da8f49e362
1 changed files with 2 additions and 1 deletions
  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"
               ref="cropperRef"
               img={this.options.img}
               img={this.options.img}
               info={true}
               info={true}
-              autoCrop={this.options.autoCrop}
+              autoCrop={true}
+              centerBox={true}
               autoCropWidth={this.options.autoCropWidth}
               autoCropWidth={this.options.autoCropWidth}
               full={this.options.full}
               full={this.options.full}
               outputType={this.options.outputType}
               outputType={this.options.outputType}