微调
This commit is contained in:
@@ -63,7 +63,7 @@ const getInfo = async () => {
|
||||
getFileNameAndFilePath({ filePath: res.data.testRunReport }).then(report => {
|
||||
detailData.value.reportUrl = report.data.url
|
||||
detailData.value.reportName = report.data.fileName
|
||||
console.log('🚀 ~ getFileNameAndFilePath ~ detailData.value:', detailData.value)
|
||||
// console.log('🚀 ~ getFileNameAndFilePath ~ detailData.value:', detailData.value)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
@@ -376,7 +376,6 @@ const startRunTest = () => {
|
||||
// 下载报告
|
||||
const downloadTheReport = (url: string) => {
|
||||
getFileNameAndFilePath({ filePath: url }).then((res: any) => {
|
||||
console.log(res.data.url, 'res')
|
||||
const link = document.createElement('a')
|
||||
link.href = res.data.url
|
||||
link.download = res.data.name
|
||||
|
||||
Reference in New Issue
Block a user