fix: 修复构建右键菜单demo时类型错误导致构建失败

This commit is contained in:
XiaoDaiGua-Ray 2023-12-06 12:30:27 +08:00
parent 5299a0245f
commit 2c24ae5d94

View File

@ -16,7 +16,7 @@ import { useContextmenuCoordinate } from '@/hooks/components'
export default defineComponent({
name: 'ContextMenuDemo',
setup() {
const demoOneRef = ref<HTMLElement | null>(null)
const demoOneRef = ref<HTMLElement>()
const demoOneShow = ref(false)
const options = ref([
{