refactor(layout): 移除 basicLayout 组件中的注释代码

- 删除了 basicLayout 组件中不必要的注释代码
- 优化了模板结构,提高了代码的可读性和维护性
This commit is contained in:
zhangtao
2025-06-26 17:13:47 +08:00
parent 993ac4cca2
commit 5de6166d24
+2 -2
View File
@@ -130,12 +130,12 @@
<div class="header-centent">
<router-view v-slot="{ Component, route }">
<transition name="fade" mode="out-in">
<!-- <div :key="route.path"> -->
<div :key="route.path">
<keep-alive v-if="route.meta.keepAlive">
<component :is="Component" />
</keep-alive>
<component :is="Component" v-else />
<!-- </div> -->
</div>
</transition>
</router-view>
</div>