fix: proxy unstable native image media
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
@click.stop="handleImageClick(message)"
|
||||
>
|
||||
<img
|
||||
:src="message.attachment.url"
|
||||
:src="imageDisplayUrl(message.attachment.url)"
|
||||
:alt="message.attachment.name || '图片'"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
@@ -133,7 +133,7 @@
|
||||
>
|
||||
<img
|
||||
class="image-viewer-img"
|
||||
:src="imageViewer.url"
|
||||
:src="imageDisplayUrl(imageViewer.url)"
|
||||
:alt="imageViewer.name || '图片'"
|
||||
:style="imageViewerStyle"
|
||||
decoding="async"
|
||||
@@ -219,6 +219,7 @@
|
||||
<script setup>
|
||||
import { computed, nextTick, onBeforeUnmount, onMounted, reactive, ref, watch } from 'vue';
|
||||
import { useContactStore } from '@/stores/contacts';
|
||||
import { imageDisplayUrl } from '@/services/mediaProxy';
|
||||
|
||||
const props = defineProps({
|
||||
messages: {
|
||||
|
||||
Reference in New Issue
Block a user