This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-01-29 14:56:51 +07:00
parent c6c1fe93c1
commit ffce0164b4

View file

@ -396,7 +396,7 @@ watch(
</q-card>
</q-dialog>
<q-dialog v-model="imageModal" :maximized="true">
<!-- <q-dialog v-model="imageModal">
<q-btn
icon="close"
flat
@ -406,10 +406,36 @@ watch(
class="absolute-top-right z-top text-white"
/>
<q-img
:src="selectedImg"
style="max-width: 90vw; max-height: 90vh; object-fit: contain"
/>
<q-img :src="selectedImg" />
</q-dialog> -->
<q-dialog v-model="imageModal">
<q-card
style="
width: auto;
max-width: none;
background: transparent;
box-shadow: none;
"
>
<q-btn
icon="close"
flat
round
dense
v-close-popup
class="absolute-top-right z-top text-white"
/>
<img
:src="selectedImg"
style="
display: block;
max-width: 90vw;
max-height: 90vh;
object-fit: contain;
"
/>
</q-card>
</q-dialog>
</template>