Commit 75a9ff72 authored by 李苏's avatar 李苏 💬

页签缓存,组件bug

parent b6039ecd
<template>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<!-- <keep-alive :include="cachedViews">
<router-view :key="key" />
</keep-alive>
<!-- <router-view :key="key" /> -->
</keep-alive> -->
<keep-alive >
<router-view :key="key" />
</keep-alive>
</transition>
</section>
</template>
......
......@@ -30,7 +30,7 @@ export default {
},
computed: {
title(){
return $store.state.permission.appName
return this.$store.state.permission.appName
},
variables() {
return variables;
......@@ -45,7 +45,7 @@ export default {
},
data() {
return {
title: '陕钢安全管理系统',
// title: '陕钢安全管理系统',
logo: logoImg
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment