From cd406c6d8742951f87f588564bbde73a2273b916 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期一, 25 五月 2026 00:00:29 +0800
Subject: [PATCH] feat: 实际保养日期只保留年月日
---
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