show image

This commit is contained in:
Kseninia Mikhaylova 2024-08-09 09:38:28 +03:00
parent d9a55e2364
commit 83602ecb79
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ const patchItem = async () => {
<UButton @click="patchField(field)">Сохранить</UButton> <UButton @click="patchField(field)">Сохранить</UButton>
</span> </span>
<span class="col-span-2"> <span class="col-span-2">
<GetImage :file_id="field.file_id" type="img" /> <NuxtImg v-if="field.image_aws_url" :src="field.image_aws_url" />
<GetImage v-else :file_id="field.file_id" type="img" />
</span> </span>
</li> </li>
</ul> </ul>