chore: 更新依赖

This commit is contained in:
Hooray Hu
2024-03-21 14:47:28 +08:00
parent c61675b311
commit 805c13ba7a
5 changed files with 960 additions and 704 deletions
@@ -75,7 +75,7 @@ function onTabbarContextmenu(event: MouseEvent, routeItem: Tabbar.recordRaw) {
ContextMenu.showContextMenu({
x: event.x,
y: event.y,
zIndex: 1000,
zIndex: 1050,
iconFontClass: '',
customClass: 'contextmenu-custom',
items: [
@@ -221,8 +221,6 @@ onUnmounted(() => {
}
.icon {
width: 1em;
margin-right: 10px;
color: initial;
}
+2 -1
View File
@@ -136,7 +136,8 @@ router.afterEach((to, from) => {
keepAliveStore.add(componentName)
}
else {
console.warn('该页面组件未设置组件名,会导致缓存失效,请检查')
// turbo-console-disable-next-line
console.warn('[Fantastic-admin] 该页面组件未设置组件名,会导致缓存失效,请检查')
}
}
// 判断离开页面是否开启缓存,如果开启,则根据缓存规则判断是否需要清空 keep-alive 全局状态里离开页面的 name 信息
+1
View File
@@ -176,6 +176,7 @@ const useRouteStore = defineStore(
route.children = converDeprecatedAttributeRecursive(route.children)
})
if (isUsedDeprecatedAttribute) {
// turbo-console-disable-next-line
console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性')
}
return routes