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,6 +1,7 @@
<template> <template>
<div> <div>
<AmsPosition></AmsPosition> <AmsPosition></AmsPosition>
<div class="warpper">
<split-pane :min-percent="10" :default-percent="15" split="vertical" style="height: calc(100vh - 110px)"> <split-pane :min-percent="10" :default-percent="15" split="vertical" style="height: calc(100vh - 110px)">
<template slot="paneL"> <template slot="paneL">
<SideMenu @handleNodeClick="handleNodeClick" v-if="switchControl"></SideMenu> <SideMenu @handleNodeClick="handleNodeClick" v-if="switchControl"></SideMenu>
@ -10,6 +11,7 @@
</template> </template>
</split-pane> </split-pane>
</div> </div>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, ref, unref } from 'vue' import { defineComponent, ref, unref } from 'vue'
@ -45,3 +47,9 @@ export default defineComponent({
}, },
}) })
</script> </script>
<style lang="scss" scoped>
.warpper {
height: calc(100vh - 100px);
background-color: #fff;
}
</style>