refactor: 模板引用全部改用useTemplateRef

This commit is contained in:
lanyeeee
2026-02-21 07:32:55 +08:00
parent 59e28536e1
commit a45a85ee56
10 changed files with 40 additions and 40 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import type { InjectionKey, Ref } from 'vue'
import SearchPane from './panes/SearchPane/SearchPane.vue'
export const navDownloadButtonRefKey = Symbol() as InjectionKey<Ref<HTMLDivElement | undefined>>
export const navDownloadButtonRefKey = Symbol() as InjectionKey<Ref<HTMLDivElement | null>>
export const searchPaneRefKey = Symbol() as InjectionKey<Ref<InstanceType<typeof SearchPane> | undefined>>
export const searchPaneRefKey = Symbol() as InjectionKey<Ref<InstanceType<typeof SearchPane> | null>>