mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
优化
This commit is contained in:
parent
49d2ebf584
commit
bd267b6a28
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-views">
|
<div class="app-views">
|
||||||
<router-view v-slot="{ Component }">
|
<router-view v-slot="{ Component }">
|
||||||
<el-scrollbar :key="route.path">
|
<el-scrollbar>
|
||||||
<transition :name="app.info.router.transition">
|
<transition :name="app.info.router.transition">
|
||||||
<keep-alive :include="caches">
|
<keep-alive :include="caches">
|
||||||
<component :is="Component" />
|
<component :is="Component" />
|
||||||
@ -40,6 +40,7 @@ const caches = computed(() => {
|
|||||||
width: calc(100% - 20px);
|
width: calc(100% - 20px);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
:deep(.el-scrollbar__view) {
|
:deep(.el-scrollbar__view) {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
Loading…
Reference in New Issue
Block a user