zhouwenxuan
2023-06-20 d3aece767827001fe980207b4151808cd16814d5
pages/tabBar/notice/detail.vue
@@ -113,8 +113,6 @@
                  item.attachementName = this.detailData.attachment[index].attachmentName;
               })
            }
         }
         this.detailData.disaster = test.disasterType == 1 ? '地震': test.disasterType == 2 ? '洪涝' : test.disasterType == 3 ? '气象' : test.disasterType == 4 ? '泥石流': test.disasterType == 5 ? '水旱': '森林草原火灾';
      },
@@ -153,14 +151,10 @@
        }else {
          fileUrl = VUE_APP_BASE_URL + item.attachement;
        }
        console.log("urlllllllllllll",fileUrl)
        console.log("urlllllllll",fileUrl)
        uni.downloadFile({
          url: fileUrl,
          header: {
            // 'tk':uni.getStorageSync('tk'),
            // 'uid': uni.getStorageSync('uid'),
          },
          header: {},
          success:function(res){
            console.log("下载res",res);
            var filePath = res.tempFilePath;