mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 16:28:49 +08:00
chore: 更新依赖
This commit is contained in:
@@ -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
@@ -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 信息
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user