ux-cascader-linkaitong

``` interface IOptions{ label: string,// 文本 children?: IOptions[] // 下一级联内容 } interface ICascaderProps { defaultValue?: string[], // 默认值 placeholder: string, // options: {// 级联内容 label: string, children?: IOptions[] }, onChange: ()

Usage no npm install needed!

<script type="module">
  import uxCascaderLinkaitong from 'https://cdn.skypack.dev/ux-cascader-linkaitong';
</script>

README

interface IOptions{
  label: string,// 文本
  children?: IOptions[] // 下一级联内容
}
interface ICascaderProps {
  defaultValue?: string[], // 默认值
  placeholder: string, // 
  options: {// 级联内容
    label: string,
    children?: IOptions[]
  },
  onChange: () => void // 回调
}