From 820b9643fa49bee2d761b5662d3935d535698b30 Mon Sep 17 00:00:00 2001
From: zhang_nuo <zhang_12370@163.com>
Date: 星期二, 25 八月 2026 20:59:14 +0800
Subject: [PATCH] feat(collaborativeApproval): 优化知识库与规章制度管理页面展示
---
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