fix: 超过高度才显示滚动条

This commit is contained in:
TsMask
2023-11-25 19:25:19 +08:00
parent a991cf3370
commit ac14a207c4
9 changed files with 26 additions and 14 deletions

View File

@@ -1135,7 +1135,7 @@ onMounted(() => {
<!-- 新增框或修改框 -->
<DraggableModal
width="800px"
:body-style="{ height: '650px', 'overflow-y': 'scroll' }"
:body-style="{ maxHeight: '650px', 'overflow-y': 'auto' }"
:keyboard="false"
:mask-closable="false"
:visible="modalState.visibleByEdit"
@@ -1566,7 +1566,7 @@ onMounted(() => {
<!-- 批量增加框 -->
<DraggableModal
width="800px"
:body-style="{ height: '650px', 'overflow-y': 'scroll' }"
:body-style="{ maxHeight: '650px', 'overflow-y': 'auto' }"
:keyboard="false"
:mask-closable="false"
:visible="modalState.visibleByBatch"