show image
This commit is contained in:
parent
d9a55e2364
commit
83602ecb79
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue