fix size Profile

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-15 16:10:21 +07:00
parent db8c74a160
commit f10a911801

View file

@ -168,8 +168,8 @@ function resizeImage(file: File): Promise<File> {
img.onload = () => {
const canvas = document.createElement("canvas");
const ctx = canvas.getContext("2d");
const width = 150;
const height = 200;
const width = 354;
const height = 472;
//
canvas.width = width;
@ -1111,7 +1111,7 @@ onMounted(async () => {
<q-dialog v-model="dialogImage" persistent>
<q-card style="width: 100vw; max-width: 60vw">
<DialogHeader
:tittle="'เลือกรูปภาพ (150 x 200 px)'"
:tittle="'เลือกรูปภาพ (354 x 472 px)'"
:close="closeImage"
/>