Quellcode durchsuchen

文件下载报错

tudc vor 3 Jahren
Ursprung
Commit
fabc3a8bfe
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 4 3
      front-vue/src/views/service/credit/creditDetail.vue

+ 4 - 3
front-vue/src/views/service/credit/creditDetail.vue

@@ -506,11 +506,12 @@ export default {
       const pfiFileUrl = row.pfiFileUrl;
       if (pfiFileUrl != null && pfiFileUrl != "") {
             const pfiFileName = row.pfiFileName;
-            this.queryParamsDown.pfiFileUrl = pfiFileUrl;
+            var queryParamsDown = {};
+            queryParamsDown.pfiFileUrl = pfiFileUrl;
             this.download(
                 "sc-service/creditLine/jpgAuthorization",
                 {
-                    ...this.queryParamsDown
+                    ...queryParamsDown
                 },
                 pfiFileName
             );
@@ -737,4 +738,4 @@ table.gridtable td {
     margin-bottom: 0;
     background-color: #ffffff;
 }
-</style>
+</style>