Skip to content

Commit

Permalink
fix: 修复src/layout/components/appMain.vue文件中同名词读取解析错误
Browse files Browse the repository at this point in the history
  • Loading branch information
hxzAugustinus authored Jul 20, 2023
1 parent 413c375 commit 616703f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layout/components/appMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const props = defineProps({
const { $storage, $config } = useGlobal<GlobalPropertiesApi>();
const keepAlive = computed(() => {
const isKeepAlive = computed(() => {
return $config?.KeepAlive;
});
Expand Down Expand Up @@ -86,7 +86,7 @@ const transitionMain = defineComponent({
</el-backtop>
<transitionMain :route="route">
<keep-alive
v-if="keepAlive"
v-if="isKeepAlive"
:include="usePermissionStoreHook().cachePageList"
>
<component
Expand All @@ -106,7 +106,7 @@ const transitionMain = defineComponent({
<div v-else>
<transitionMain :route="route">
<keep-alive
v-if="keepAlive"
v-if="isKeepAlive"
:include="usePermissionStoreHook().cachePageList"
>
<component
Expand Down

0 comments on commit 616703f

Please sign in to comment.