mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 02:58:43 +08:00
fix: 修复页面缓存 (#2575)
1. 修复页面不能缓存的bug 2. 此更新为破坏性更新,页面不支持多标签使用 3. 将表单设计模块多标签改成单标签
This commit is contained in:
parent
a222404220
commit
de305ecd47
@ -15,13 +15,9 @@
|
||||
appear
|
||||
>
|
||||
<keep-alive v-if="openCache" :include="getCaches">
|
||||
<div :key="route.name">
|
||||
<component :is="Component" :key="route.fullPath" />
|
||||
</div>
|
||||
</keep-alive>
|
||||
<div v-else :key="route.name">
|
||||
<component :is="Component" :key="route.fullPath" />
|
||||
</div>
|
||||
</keep-alive>
|
||||
<component v-else :is="Component" :key="route.fullPath" />
|
||||
</transition>
|
||||
</template>
|
||||
</RouterView>
|
||||
|
@ -1,8 +1,11 @@
|
||||
<template>
|
||||
<VFormDesign />
|
||||
<PageWrapper dense contentFullHeight fixedHeight>
|
||||
<VFormDesign />
|
||||
</PageWrapper>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { PageWrapper } from '/@/components/Page';
|
||||
import VFormDesign from './components/VFormDesign/index.vue';
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user