Merge pull request #10932 from dataease/pr@dev-v2@fix_scroll

fix(数据大屏): 修复导出图片时存在滚动条问题
This commit is contained in:
王嘉豪 2024-07-12 15:46:59 +08:00 committed by GitHub
commit c7fcb1fc14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -349,6 +349,7 @@ defineExpose({
:id="domId" :id="domId"
class="canvas-container" class="canvas-container"
:style="canvasStyle" :style="canvasStyle"
:class="{ 'de-download-custom': downloadStatus }"
ref="previewCanvas" ref="previewCanvas"
@mousedown="handleMouseDown" @mousedown="handleMouseDown"
> >

View File

@ -510,3 +510,9 @@ strong {
width: 100%; width: 100%;
height: 100% !important; height: 100% !important;
} }
.de-download-custom {
div {
overflow: hidden;
}
}