当前位置:网站首页>treeselect常用功能记录(有清除选项的回调函数)
treeselect常用功能记录(有清除选项的回调函数)
2022-08-05 11:50:00 【日日行不惧千万里】
<treeselect
v-model="form.deptId"
:options="deptOptions"
:show-count="true"
:clearValueText="clearValueText"
:beforeClearAll="beforeClearAll"
:disableBranchNodes="disableBranchNodes"
:defaultExpandLevel="defaultExpandLevel"
@deselect="deselect"
@input="input"
placeholder="请选择归属部门"
/>
- show-count:是否显示子节点的数量。
- clearValueText:清除选中项小叉的提示文字。
- beforeClearAll:点击清除小叉是触发的函数。(清除选项的回调函数)
- disableBranchNodes:是否禁止选择非叶子节点,true是禁止,禁止后只能选择叶子节点。
- defaultExpandLevel:树展开层级,默认0只有一个根节点,可以设置一个大于你的树的层级的值,即可展开所有层级。
边栏推荐
猜你喜欢

Http-Sumggling Cache Vulnerability Analysis

互联网行业凛冬之至,BATM的程序员是如何应对中年危机的?

“小钢炮”气质明显,安全、舒适一个不落
The principle and application scenario of mysql master-slave synchronization

isn't it?Is there anyone who can't locate the slow query problem of MySQL online?
knife4j

Machine Learning - Ensemble Learning

Letter from Silicon Valley: Act fast, Facebook, Quora and other successful "artifacts"!

动手学深度学习_GoogLeNet / Inceptionv1v2v3v4

Exploration and practice of transaction link under multi-service mode
随机推荐
How to write a blog with Golang - Milu.blog development summary
ORACLE ASM提供的三种冗余方式
【7.29-8.5】写作社区精彩技术博文回顾
hdu1455 Sticks(搜索+剪枝+剪枝+.....+剪枝)
Can't get in to ask questions.I want to ask you a question about the return value (traversal of the graph), please give Xiaobai an answer.
常用的免费Api接口网址
并非富人专属,一文让你对NFT改观
【HMS core】【FAQ】Health Kit, Ads kit, Push Kit Typical Questions Collection 5
巴比特 | 元宇宙每日必读:中国1775万件数字藏品分析报告显示,85%的已发行数藏开通了转赠功能...
365 days challenge LeetCode1000 questions - Day 050 add a row to the binary tree binary tree
2022.08.01_每日一题
Machine Learning - Logistic Regression
The importance of parameter naming, remember a JDBC parameter conflict
hdu 1870 愚人节的礼物 (栈)
Apache APISIX Ingress v1.5-rc1 发布
STM32H743IIT6学习笔记02——USART
Byte Qiu Zhao confused me on both sides, and asked me under what circumstances would the SYN message be discarded?
动手学深度学习_GoogLeNet / Inceptionv1v2v3v4
解决2022Visual Studio中scanf返回值被忽略问题
Wingide 快捷键