4f7fea77 by lihua

fix

1 parent 9f6add1e
...@@ -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) : '';
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!