el-cascader-load-more
v0.0.1
Published
el-cascader组件滚动加载更多
Downloads
10
Readme
使用: 注册
import loadMore from "el-cascader-load-more" Vue.directive("load-more",loadMore)
<el-cascader-panel :options="options" @expand-change="handleChange" v-load-more :props="props" :lazy-root="moreRoot" ref="cascader-selector">
需要设置异步加载 :lazy-root="moreRoot" 为加载根节点时的函数,