From e852bb49cbf0d860d784cf3b7a76a9202d19dd9c Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期四, 30 四月 2026 15:13:11 +0800
Subject: [PATCH] 安全生产附件上传弹窗
---
src/components/AttachmentPreview/image/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/AttachmentPreview/image/index.vue b/src/components/AttachmentPreview/image/index.vue
index 5211fac..1c6039b 100644
--- a/src/components/AttachmentPreview/image/index.vue
+++ b/src/components/AttachmentPreview/image/index.vue
@@ -1,6 +1,6 @@
<script setup>
const props = defineProps({
- list: {
+ fileList: {
type: Array,
default: () => [],
},
@@ -15,7 +15,7 @@
})
const normalizedList = computed(() => {
- return (props.list || [])
+ return (props.fileList || [])
.filter((item) => item && item.previewURL)
.map((item, index) => ({
id: item.id ?? index,
--
Gitblit v1.9.3