style: 选了20条或50条等超出一页范围时,没法上下滑动查看

develop
时启龙 2024-11-07 12:32:26 +08:00
parent 84b31aaba4
commit f208a516a7
1 changed files with 16 additions and 8 deletions

View File

@ -1,14 +1,16 @@
<template>
<div>
<AmsPosition></AmsPosition>
<split-pane :min-percent="10" :default-percent="15" split="vertical" style="height: calc(100vh - 110px)">
<template slot="paneL">
<SideMenu @handleNodeClick="handleNodeClick" v-if="switchControl"></SideMenu>
</template>
<template slot="paneR">
<RightList ref="listRef"></RightList>
</template>
</split-pane>
<div class="warpper">
<split-pane :min-percent="10" :default-percent="15" split="vertical" style="height: calc(100vh - 110px)">
<template slot="paneL">
<SideMenu @handleNodeClick="handleNodeClick" v-if="switchControl"></SideMenu>
</template>
<template slot="paneR">
<RightList ref="listRef"></RightList>
</template>
</split-pane>
</div>
</div>
</template>
<script lang="ts">
@ -45,3 +47,9 @@ export default defineComponent({
},
})
</script>
<style lang="scss" scoped>
.warpper {
height: calc(100vh - 100px);
background-color: #fff;
}
</style>