Commit dac9301af485a32583e5b3aa8bc667ead514ae17
Committed by
GitHub
1 parent
20c10df8
fix: 右键组件缺少PropType类型引用 (#2129)
右键组件缺少PropType类型引用
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/ContextMenu/src/ContextMenu.vue
1 | <script lang="tsx"> | 1 | <script lang="tsx"> |
2 | import type { ContextMenuItem, ItemContentProps, Axis } from './typing'; | 2 | import type { ContextMenuItem, ItemContentProps, Axis } from './typing'; |
3 | - import type { FunctionalComponent, CSSProperties } from 'vue'; | 3 | + import type { FunctionalComponent, CSSProperties, PropType } from 'vue'; |
4 | import { defineComponent, nextTick, onMounted, computed, ref, unref, onUnmounted } from 'vue'; | 4 | import { defineComponent, nextTick, onMounted, computed, ref, unref, onUnmounted } from 'vue'; |
5 | import Icon from '/@/components/Icon'; | 5 | import Icon from '/@/components/Icon'; |
6 | import { Menu, Divider } from 'ant-design-vue'; | 6 | import { Menu, Divider } from 'ant-design-vue'; |