From ffd792acaa53f7d6121640b979c473d38bd21319 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Tue, 14 Jun 2022 17:37:10 +0800
Subject: [PATCH] bug
---
 .../apps/AppMassNotification/components/Add.vue | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/core/apps/AppMassNotification/components/Add.vue b/core/apps/AppMassNotification/components/Add.vue
index f99106ec..b6041edb 100644
--- a/core/apps/AppMassNotification/components/Add.vue
+++ b/core/apps/AppMassNotification/components/Add.vue
@@ -101,16 +101,26 @@
 
             
               
+            
+
+            
               
                 
               
+            
+
+            
               
                 
               
+            
+
+            
               
-                
+                
               
             
+
           
         
       
@@ -162,6 +172,7 @@ export default {
       imgList: [],
       videoList: [],
       filesList: [],
+      fileDownLoad: [],
       areaRootId: '',
       users: [],
       images: [],
@@ -226,8 +237,8 @@ export default {
       this.instance.post(`/app/pushmessage/detail?id=${this.params.id}`).then(res => {
         if (res?.data) {
           this.data = res.data
-          let obj = res.data.fileList.filter(e=> e.contentType == "image")
-          this.images = [{ url: obj[0]?.accessUrl }]
+          this.images = [{ url: res.data.fileList.filter(e=> e.contentType == "image")[0]?.accessUrl }]
+          this.fileDownLoad = [{ url:res.data.fileList.filter(e=> e.contentType == "file")[0]?.accessUrl }]
         }
       })
     },