fix: default profileImg

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-26 15:00:49 +07:00
parent d82d138c76
commit 7489c9d2aa

View file

@ -357,7 +357,7 @@ async function fetchKeycloakPosition() {
}); });
} }
const profileImg = ref<string>(""); const profileImg = ref<string>(avatar);
async function getImg(id: string, pathName: string) { async function getImg(id: string, pathName: string) {
await http await http
.get(config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", id, pathName)) .get(config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", id, pathName))