!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

View File

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