fix: create service and edit product image

This commit is contained in:
puriphatt 2024-07-03 10:08:51 +00:00
parent 18c32e3b34
commit 3792c19ce4
3 changed files with 7 additions and 2 deletions

View file

@ -194,7 +194,7 @@ withDefaults(
class="col rounded q-my-md items-center justify-center flex"
style="background-color: transparent"
loading="lazy"
:src="`${baseUrl}/${data?.type === 'service' ? 'service' : 'product'}/${data?.id}/image`"
:src="`${baseUrl}/${data?.type === 'service' ? 'service' : 'product'}/${data?.id}/image?ts=${Date.now()}`"
>
<template #error>
<div