fix(测试跟踪): 导出报文名称错误
This commit is contained in:
parent
23867d8a39
commit
7addde0db2
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<ms-report-export-template :title="title" :type="$t('report.load_test_report')">
|
<ms-report-export-template :title="title" :type="$t('report.test_plan_report')">
|
||||||
<div v-for="(item, index) in previews" :key="item.id">
|
<div v-for="(item, index) in previews" :key="item.id">
|
||||||
<template-component :isReportView="true" :metric="metric" :preview="item" :index="index" ref="templateComponent"/>
|
<template-component :isReportView="true" :metric="metric" :preview="item" :index="index" ref="templateComponent"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -255,7 +255,7 @@ export function exportPdf(name, canvasList) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pdf.save(name + '.pdf');
|
pdf.save(name.replace(" ", "_") + '.pdf');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue