Skip to content

Commit

Permalink
docs(Select/TreeSelect): update example file(Tencent#3662)
Browse files Browse the repository at this point in the history
  • Loading branch information
topazur committed Dec 1, 2023
1 parent 32cf5c4 commit 1ebe123
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/select/_example/collapsed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<span>readonly control:</span>
<t-checkbox :checked="readonly" @change="(value) => readonly = value" />
</t-space>
<!-- 自定义折叠项内容,collapsedItems 为渲染函数 (value, count, collapsedSelectedItems) -->
<!-- 自定义折叠项内容,collapsedItems 为渲染函数 -->
<t-select
v-model="value"
:options="options"
Expand All @@ -30,7 +30,7 @@
:readonly="readonly"
/>

<!-- 自定义折叠项内容,collapsedItems 为 插槽(slot) { value, count, collapsedSelectedItems }-->
<!-- 自定义折叠项内容,collapsedItems 为 插槽(slot) -->
<t-select
v-model="value"
:options="options"
Expand Down
10 changes: 0 additions & 10 deletions src/tree-select/_example/collapsed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
:min-collapsed-num="1"
>
</t-tree-select>
<t-tree-select
v-model="value"
:data="options"
class="demo-space"
multiple
clearable
placeholder="请选择"
:min-collapsed-num="1"
>
</t-tree-select>

<h3>use collapsedItems: </h3>
<t-space>
Expand Down

0 comments on commit 1ebe123

Please sign in to comment.