fix FileViewer.vue layout

This commit is contained in:
Timi
2025-07-11 20:18:48 +08:00
parent 8e2f49b243
commit bc9dd34425

View File

@ -49,11 +49,10 @@
>
<div class="value" v-text="file.data"></div>
</div>
<div class="container">
<div v-if="mediaComponent && file.rawURL" class="container">
<component
:is="mediaComponent"
class="value"
v-if="mediaComponent && file.rawURL"
:src="file.rawURL"
:controls="true"
/>