fix(测试计划): 导出 pdf 图片加载问题修复
This commit is contained in:
parent
bd43262720
commit
eaf0d77abc
|
@ -49,6 +49,7 @@ export default async function exportPDF(
|
|||
height: element.clientHeight,
|
||||
backgroundColor: '#f9f9fe',
|
||||
scale: SCALE_RATIO, // 缩放增加清晰度
|
||||
useCORS: true,
|
||||
});
|
||||
pdf.setFont('AlibabaPuHuiTi-3-55-Regular');
|
||||
pdf.setFontSize(10);
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
<div v-for="item of innerCardList" :id="`${item.value}`" :key="item.id" class="card-item mt-[16px]">
|
||||
<div class="wrapper-preview-card">
|
||||
<div class="flex items-center justify-between">
|
||||
<div v-if="item.value !== ReportCardTypeEnum.CUSTOM_CARD" class="mb-[8px] font-medium">
|
||||
<div class="mb-[8px] font-medium">
|
||||
{{ t(item.label) }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue