fix
Showing
1 changed file
with
6 additions
and
1 deletions
| ... | @@ -238,7 +238,12 @@ const tableBtnClick = async (scope, btn) => { | ... | @@ -238,7 +238,12 @@ const tableBtnClick = async (scope, btn) => { |
| 238 | //downFile(row.filePath, row.fileName) | 238 | //downFile(row.filePath, row.fileName) |
| 239 | } else if (type == 'export_abnormal_data') { | 239 | } else if (type == 'export_abnormal_data') { |
| 240 | //downFile(row.errorFilePath, '') | 240 | //downFile(row.errorFilePath, '') |
| 241 | getImageContent(row.errorFilePath).then((res: any) => { | 241 | const refSignInfo: any = await getDownFileSignByUrl(parseAndDecodeUrl(row.errorFilePath).decodedPath); |
| 242 | if (!refSignInfo?.data) { | ||
| 243 | refSignInfo?.msg && ElMessage.error(refSignInfo?.msg); | ||
| 244 | return; | ||
| 245 | } | ||
| 246 | getImageContent(refSignInfo?.data).then((res: any) => { | ||
| 242 | if (res && !res.msg) { | 247 | if (res && !res.msg) { |
| 243 | let name = row.errorFilePath; | 248 | let name = row.errorFilePath; |
| 244 | var fileSuffix = name ? name.substring(name.lastIndexOf('.') + 1) : ''; | 249 | var fileSuffix = name ? name.substring(name.lastIndexOf('.') + 1) : ''; | ... | ... |
-
Please register or sign in to post a comment