update src/layout/routerView/parent.vue.

Signed-off-by: mrjimin <z8888788@163.com>
This commit is contained in:
mrjimin 2022-12-03 08:22:44 +00:00 committed by Gitee
parent 02e7c49750
commit 6e59014357
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -84,7 +84,7 @@ onMounted(() => {
setTimeout(() => {
if (themeConfig.value.isCacheTagsView) {
let tagsViewArr:RouteItem[] = Session.get('tagsViewList') || []
cachedViews.value = tagsViewArr.filter((item) => item.meta.isKeepAlive).map((item) => item.name)
cachedViews.value = tagsViewArr.filter((item) => item.meta.isKeepAlive).map((item) => item.name as string)
}
}, 0);
});