Parcourir la source

修改附件下载bug

林健华 il y a 2 ans
Parent
commit
1eb4b1c59d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/burialPoint/index.vue

+ 1 - 1
src/views/burialPoint/index.vue

@@ -630,7 +630,7 @@ function handleBasicUploadChange() {
  */
 async function handleOpenEventAppendixInfo(record: EditRecordRow) {
   await downloadAppendix(record.id).then((res) => {
-    downloadByData(res, record.name);
+    downloadByData(res.data, record.name);
   })
 }