fix(04): no date time img select product
This commit is contained in:
parent
f322e7fc27
commit
91c9dfaa95
1 changed files with 7 additions and 1 deletions
|
|
@ -32,6 +32,8 @@ withDefaults(
|
||||||
|
|
||||||
index?: number;
|
index?: number;
|
||||||
isDisabled?: boolean;
|
isDisabled?: boolean;
|
||||||
|
|
||||||
|
noTimeImg?: boolean;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
isSelected: false,
|
isSelected: false,
|
||||||
|
|
@ -189,7 +191,11 @@ withDefaults(
|
||||||
class="col rounded q-my-md items-center justify-center flex"
|
class="col rounded q-my-md items-center justify-center flex"
|
||||||
style="background-color: transparent"
|
style="background-color: transparent"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
:src="`${baseUrl}/${data?.type === 'service' ? 'service' : 'product'}/${data?.id}/image?ts=${Date.now()}`"
|
:src="
|
||||||
|
`${baseUrl}/${data?.type === 'service' ? 'service' : 'product'}/${data?.id}/image`.concat(
|
||||||
|
noTimeImg ? '' : `?ts=${Date.now()}`,
|
||||||
|
)
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<template #error>
|
<template #error>
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue