ADD: Cors to imgs

This commit is contained in:
2025-04-30 00:39:35 +03:30
parent 5e8133181e
commit f534b3115e
+1 -1
View File
@@ -202,7 +202,7 @@ const indexBelongings = async () => {
<Column selectionMode="multiple" style="width: 3rem" :exportable="false"></Column> <Column selectionMode="multiple" style="width: 3rem" :exportable="false"></Column>
<Column header="تصویر"> <Column header="تصویر">
<template #body="slotProps"> <template #body="slotProps">
<img :src="`${slotProps.data.imageUrl}`" :alt="slotProps.data.name" class="rounded" style="max-width: 64px" crossorigin /> <img :src="`${slotProps.data.imageUrl}`" :alt="slotProps.data.name" class="rounded" style="max-width: 64px" crossorigin="use-credentials" />
</template> </template>
</Column> </Column>
<Column field="belongingCode" header="کد" style="min-width: 4rem"></Column> <Column field="belongingCode" header="کد" style="min-width: 4rem"></Column>