fix: img
This commit is contained in:
parent
c6c1fe93c1
commit
ffce0164b4
1 changed files with 31 additions and 5 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue