fix avatar รายละเอียดการรับโอน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-03 17:38:18 +07:00
parent e497160fd5
commit e278e0588d
2 changed files with 3 additions and 0 deletions

View file

@ -39,6 +39,8 @@ const profileId = ref<string | null>("");
async function fetchDataProfile(data: DataProfile) {
if (data.profileId) {
fetchCheckAvatar(data.profileId);
} else {
profile.avatar = data?.avatar ? data.avatar : "";
}
profile.id = data.profileId;
profile.fullName = `${data.prefix ?? ""}${data.firstName ?? ""} ${

View file

@ -224,6 +224,7 @@ interface Assign {
}
interface DataProfile {
avatar?: string;
child1: string | null;
child1ShortName: string | null;
child2: string | null;