mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 08:57:19 +08:00
fix: 修复src/layout/components/appMain.vue
文件中同名词读取解析错误
This commit is contained in:
parent
413c375942
commit
616703f7ed
@ -10,7 +10,7 @@ const props = defineProps({
|
|||||||
|
|
||||||
const { $storage, $config } = useGlobal<GlobalPropertiesApi>();
|
const { $storage, $config } = useGlobal<GlobalPropertiesApi>();
|
||||||
|
|
||||||
const keepAlive = computed(() => {
|
const isKeepAlive = computed(() => {
|
||||||
return $config?.KeepAlive;
|
return $config?.KeepAlive;
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ const transitionMain = defineComponent({
|
|||||||
</el-backtop>
|
</el-backtop>
|
||||||
<transitionMain :route="route">
|
<transitionMain :route="route">
|
||||||
<keep-alive
|
<keep-alive
|
||||||
v-if="keepAlive"
|
v-if="isKeepAlive"
|
||||||
:include="usePermissionStoreHook().cachePageList"
|
:include="usePermissionStoreHook().cachePageList"
|
||||||
>
|
>
|
||||||
<component
|
<component
|
||||||
@ -106,7 +106,7 @@ const transitionMain = defineComponent({
|
|||||||
<div v-else>
|
<div v-else>
|
||||||
<transitionMain :route="route">
|
<transitionMain :route="route">
|
||||||
<keep-alive
|
<keep-alive
|
||||||
v-if="keepAlive"
|
v-if="isKeepAlive"
|
||||||
:include="usePermissionStoreHook().cachePageList"
|
:include="usePermissionStoreHook().cachePageList"
|
||||||
>
|
>
|
||||||
<component
|
<component
|
||||||
|
Loading…
x
Reference in New Issue
Block a user