import { defineComponent, ref } from 'vue'; import Overflow from '..'; import '../assets/index.less'; import './common.less'; interface ItemType { value: string | number; label: string; } function createData(count: number): ItemType[] { const data: ItemType[] = new Array(count).fill(undefined).map((_, index) => ({ value: index, label: `Label ${index}`, })); return data; } function renderItem(item: ItemType) { return (