iter(g310): multiSelect 补全选与半选
This commit is contained in:
+2
-1
@@ -997,7 +997,7 @@ const content = h(
|
||||
section(
|
||||
'sec-multiselect',
|
||||
'多选下拉',
|
||||
'multiSelect:标签式回显 + 可搜索弹层,点选不收起弹层(连续多选),空输入退格删末个标签,max 到限后未选项禁用,maxTagCount 折叠溢出标签,clearable 一键清空。',
|
||||
'multiSelect:标签式回显 + 可搜索弹层,点选不收起弹层(连续多选),空输入退格删末个标签,max 到限后未选项禁用,maxTagCount 折叠溢出标签,clearable 一键清空;selectAll 在弹层顶部给「全选(已选/可选)」,半选显 –,只作用于当前过滤结果。',
|
||||
h(
|
||||
'div',
|
||||
{ class: 'row' },
|
||||
@@ -1019,6 +1019,7 @@ const content = h(
|
||||
multiSelect({
|
||||
value: tagFold,
|
||||
maxTagCount: 2,
|
||||
selectAll: true, // 全选行:先搜索再全选即「按条件批量选」
|
||||
placeholder: '标签折叠演示',
|
||||
options: [
|
||||
{ value: 'ts', label: 'TypeScript' },
|
||||
|
||||
Reference in New Issue
Block a user