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

Merge pull request !608 from BlossomWave/N/A
master
若依 2 years ago committed by Gitee
commit c0685b7f7f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 4
      ruoyi-ui/src/views/system/user/profile/userAvatar.vue

@ -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

Loading…
Cancel
Save