!608 编辑头像时生成为透明png图片

Merge pull request !608 from BlossomWave/N/A
This commit is contained in:
若依 2022-10-28 11:48:22 +00:00 committed by Gitee
commit c0685b7f7f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@
:autoCropWidth="options.autoCropWidth"
:autoCropHeight="options.autoCropHeight"
:fixedBox="options.fixedBox"
:outputType="options.outputType"
@realTime="realTime"
v-if="visible"
/>
@ -78,7 +79,8 @@ export default {
autoCrop: true, //
autoCropWidth: 200, //
autoCropHeight: 200, //
fixedBox: true //
fixedBox: true, //
outputType:"png" // PNG
},
previews: {},
resizeHandler: null