Open yan-yb opened 10 months ago
把happysimple-set.css里面的 html { font-size: 11px !important; } 这段注释或者删掉就暂时解决了。
/* --------------------------------------- PDF配置 --------------------------------------- */
@media print {
@page {
margin: 2mm 0mm;
}
html {
font-size: 11px !important;
}
img {
border: var(--img-border) !important;
border-radius: var(--img-border-radius) !important;
}
/* 隐藏滚动条 */
::-webkit-scrollbar {
display: none;
}
}
导出的pdf文件右侧多了个滚动条