From 68fc947d81d23fcabf2b3afe116e7703578f602f Mon Sep 17 00:00:00 2001 From: "pan.wl.2" Date: Fri, 15 Nov 2024 14:11:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/components/material/picker.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/src/components/material/picker.vue b/admin/src/components/material/picker.vue index 560f94ea..dd969807 100644 --- a/admin/src/components/material/picker.vue +++ b/admin/src/components/material/picker.vue @@ -227,6 +227,8 @@ export default defineComponent({ } const handlePreview = (url: string) => { + // url = domain ? getImageUrl(url) : url + url = props.excludeDomain ? getImageUrl(url) : url previewUrl.value = url showPreview.value = true }