diff --git a/src/components/Screenfull/index.vue b/src/components/Screenfull/index.vue
index c5146bb..252ff8a 100644
--- a/src/components/Screenfull/index.vue
+++ b/src/components/Screenfull/index.vue
@@ -44,7 +44,7 @@ watchEffect((onCleanup) => {
-
+
diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue
index dcefc29..0a7dfe5 100644
--- a/src/layout/components/Sidebar/SidebarItem.vue
+++ b/src/layout/components/Sidebar/SidebarItem.vue
@@ -62,7 +62,7 @@ const resolvePath = (routePath: string) => {
-
+
{{ theOnlyOneChild.meta.title }}
@@ -72,7 +72,7 @@ const resolvePath = (routePath: string) => {
-
+
{{ props.item.meta.title }}
diff --git a/types/global-components.d.ts b/types/global-components.d.ts
new file mode 100644
index 0000000..bf3693b
--- /dev/null
+++ b/types/global-components.d.ts
@@ -0,0 +1,10 @@
+import SvgIcon from "@/components/SvgIcon/index.vue"
+
+/** 由 app.component 全局注册的组件需要在这里声明 TS 类型才能获得 Volar 插件提供的类型提示) */
+declare module "vue" {
+ export interface GlobalComponents {
+ SvgIcon: typeof SvgIcon
+ }
+}
+
+export {}