UNPKG

vue3-select-linkage

Version:

vue3 下拉框联动组件

28 lines (23 loc) 535 B
interface Window { Vue: any } declare module '*.vue' { import { ComponentOptions } from 'vue' const componentOptions: ComponentOptions export default componentOptions } type IBaseOption = string | number interface ICascadeOptions { value: IBaseOption label: IBaseOption children?: ICascadeOptions[] } interface ISelectOption { [index: number]: ICascadeOptions } interface IFileOption { [index: string]: string } interface INewHTMLElement extends HTMLElement { selectedIndex: number }