Explorar el Código

官网修改

1
mo hace 2 años
padre
commit
da8f49e362
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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}