From c80a7698101d3a27f5e40fe83ba1302758c55dd5 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 三月 2025 16:37:30 +0800
Subject: [PATCH] ll
---
admin/src/layouts/AppLayout.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/admin/src/layouts/AppLayout.vue b/admin/src/layouts/AppLayout.vue
index 58730f9..face93a 100644
--- a/admin/src/layouts/AppLayout.vue
+++ b/admin/src/layouts/AppLayout.vue
@@ -12,14 +12,13 @@
</header>
<main ref="containerS">
<transition name="fade">
-<!-- <keep-alive>-->
+ <keep-alive :include="cachedViews">
<router-view></router-view>
-<!-- </keep-alive>-->
+ </keep-alive>
</transition>
</main>
</el-main>
</el-container>
-
</div>
</template>
@@ -35,6 +34,7 @@
components: { AppHeader: Header, Menu, CommonHeader },
data() {
return {
+ cachedViews:['abccdd'],
isFinishData: false,
orgBackground: ''
}
@@ -45,9 +45,7 @@
mounted() {
},
-
- methods: {
-
+ methods: {
},
}
</script>
--
Gitblit v1.9.3