使用 defineOptions 设置组件 name

This commit is contained in:
Hooray Hu 2023-05-24 10:57:00 +08:00
parent 859ceac472
commit ef5e2fe76c

View File

@ -2,6 +2,10 @@
import eventBus from '@/utils/eventBus'
import useSettingsStore from '@/store/modules/settings'
defineOptions({
name: 'HotkeysIntro',
})
const isShow = ref(false)
const settingsStore = useSettingsStore()