From a1a86e7d8226fa7d9c0a4b3eb64447394e69c9ca Mon Sep 17 00:00:00 2001 From: kami <605128600@qq.com> Date: Thu, 21 Nov 2024 20:00:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E7=BA=BF=E7=B4=A2=E5=85=B3?= =?UTF-8?q?=E8=81=94=E9=97=AE=E9=A2=98=E9=A2=84=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sensitivePerception/ModelClue.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/sensitivePerception/ModelClue.vue b/src/views/sensitivePerception/ModelClue.vue index 865185e..b62334b 100644 --- a/src/views/sensitivePerception/ModelClue.vue +++ b/src/views/sensitivePerception/ModelClue.vue @@ -306,10 +306,17 @@ const total = ref(0); let showData = ref({}) let dialogShow = ref(false) - +let previewList = ref([]) const handleClue = (row) => { alarmDetails(row.notificationId).then(res => { showData.value = res + let arr = [] + if(res.files != undefined) { + res.files.forEach(item => { + arr.push(item.path) + }) + } + previewList.value = arr dialogShow.value = true }) }