แก้list รูปไม่ตรง

This commit is contained in:
STW_TTTY\stwtt 2024-05-16 13:58:27 +07:00
parent c008cd5c81
commit 507c94b955

View file

@ -172,12 +172,7 @@ function insertAvatar(items: DataPerson[]) {
items.map((x: any, index: number) => {
http
.get(
config.API.fileByFile(
"ทะเบียนประวัติ",
"โปรไฟล์",
x.id,
"profile-" + x.id
)
config.API.fileByFile("ทะเบียนประวัติ", "โปรไฟล์", x.id, x.avatarName)
)
.then((img) => {
dataPersonMain.value[index] = {