el-cascader-virtual-scroll
v0.0.1
Published
基于element-ui的cascader,增加虚拟滚动功能
Downloads
1
Readme
el-cascader-virtual-scroll
基于[email protected]封装的cascader组件,增加虚拟滚动功能,优化级联数据量过大dom节点太多导致页面卡顿.
Installation
yarn add el-cascader-virtual-scroll
Examples
<template>
<div class="demo0">
<ElCascaderVirtualScroll
:options="options"
clearable
:props="{
height: 300,
rowHeight: 50
}"
></ElCascaderVirtualScroll>
</div>
</template>
Build Setup
# 安装依赖
yarn run bootstrap
# serve with hot reload at localhost:9009 启动本地开发调试环境
yarn dev
# build for dev with minification 压缩打包发布生产环境代码
yarn build