perf: 主界面布局滚动条显示样式处理 (#59)

perf: 主界面布局滚动条采用el-scrollbar
This commit is contained in:
zhuoyue03007
2021-10-18 15:05:23 +08:00
committed by GitHub
parent db4855737b
commit 7f34b63569

View File

@@ -15,6 +15,7 @@ const transition = computed(() => {
<template>
<section class="app-main">
<el-scrollbar>
<router-view>
<template #default="{ Component, route }">
<transition
@@ -45,6 +46,7 @@ const transition = computed(() => {
</transition>
</template>
</router-view>
</el-scrollbar>
</section>
</template>