From f01aa3739461c2a5014c9ddea22d6e619b3bf696 Mon Sep 17 00:00:00 2001 From: BlossomWave <316975215@qq.com> Date: Mon, 24 Oct 2022 08:25:33 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-ui/src/views/system/user/profile?= =?UTF-8?q?/userAvatar.vue.=20=E9=BB=98=E8=AE=A4=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E6=97=B6=E5=A6=82=E6=9E=9C=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E7=89=87=E4=B8=BApng=E9=80=8F=E6=98=8E?= =?UTF-8?q?=E5=9B=BE=E7=89=87=EF=BC=8C=E7=94=9F=E6=88=90=E7=9A=84=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E9=80=8F=E6=98=8E=E9=83=A8=E5=88=86=E4=BC=9A=E5=8F=98?= =?UTF-8?q?=E6=88=90=E9=BB=91=E8=89=B2=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=BA=86?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=A4=B4=E5=83=8F=E4=B8=BApng=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E3=80=82=E5=8F=AF=E6=AD=A3=E5=B8=B8=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=80=8F=E6=98=8E=E9=83=A8=E5=88=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BlossomWave <316975215@qq.com> --- ruoyi-ui/src/views/system/user/profile/userAvatar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue index 4e805136..70d8487f 100644 --- a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue +++ b/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