将i-lucide都改为lucide本地库
This commit is contained in:
@@ -25,7 +25,7 @@ const directoryNavigation = computed(() => {
|
||||
return {
|
||||
title: item.title,
|
||||
path: item.path,
|
||||
icon: (item.icon as string) || 'i-lucide-file-text',
|
||||
icon: (item.icon as string) || 'lucide-file-text',
|
||||
active: Boolean(item.active)
|
||||
}
|
||||
}
|
||||
@@ -34,7 +34,7 @@ const directoryNavigation = computed(() => {
|
||||
return {
|
||||
title: item.title,
|
||||
path: item.path,
|
||||
icon: (item.icon as string) || 'i-lucide-folder',
|
||||
icon: (item.icon as string) || 'lucide-folder',
|
||||
active: Boolean(item.active),
|
||||
// 不包含 children,这样就不会展开显示子项
|
||||
children: []
|
||||
|
Reference in New Issue
Block a user