vue element-ui tree component expand
element-ui tree secondary development
# install dependencies
npm install
# serve with hot reload at localhost:8088
npm run serve
# build for production with minification
npm run build
elementUI ^2.2.0可以使用scoped slot的方式自定义节点,所以有两种方式,但原理都是一样。
NODE_ID_START
代替 maxexpandId
,不用从后台获取NODE_KEY
代替全局id
remove