From d24ed20bb5e29c9c35c268983719a1c774edd795 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Fri, 19 Jan 2024 19:35:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=85=AC=E5=85=B1):=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/pure/ms-upload/fileList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/pure/ms-upload/fileList.vue b/frontend/src/components/pure/ms-upload/fileList.vue index 7a8ef7d682..4f8034da14 100644 --- a/frontend/src/components/pure/ms-upload/fileList.vue +++ b/frontend/src/components/pure/ms-upload/fileList.vue @@ -241,7 +241,7 @@ const previewCurrent = ref(0); const previewList = computed(() => { - return innerFileList.value.filter((item) => item.file?.type.includes('image/')).map((item) => item.url); + return innerFileList.value.filter((item: any) => item.file?.type.includes('image/')).map((item: any) => item.url); }); function handlePreview(item: MsFileItem) {