refactor(04): service new img dialog

This commit is contained in:
puriphatt 2024-09-12 11:22:11 +07:00
parent f1168c781f
commit 21ac39d538
4 changed files with 296 additions and 92 deletions

View file

@ -146,7 +146,7 @@ withDefaults(
style="background-color: transparent"
loading="lazy"
:src="
`${baseUrl}/${data?.type === 'service' ? 'service' : 'product'}/${data?.id}/image`.concat(
`${baseUrl}/${data?.type}/${data?.id}/image/${data?.selectedImage}`.concat(
noTimeImg ? '' : `?ts=${Date.now()}`,
)
"