Skip to content

Commit a078105

Browse files
committed
docs: update tree-select
1 parent 747d549 commit a078105

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

components/tree-select/demo/index.vue

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,32 +29,16 @@ export default {
2929
subtitle: '树选择',
3030
type: 'Data Entry',
3131
title: 'TreeSelect',
32-
data() {
33-
return {
34-
show: true,
35-
};
36-
},
3732
render() {
3833
return (
3934
<div>
40-
<button
41-
onClick={() => {
42-
this.show = !this.show;
43-
}}
44-
>
45-
show
46-
</button>
4735
<md cn={md.cn} us={md.us} />
48-
{this.show ? (
49-
<div>
50-
<Basic />
51-
<Checkable />
52-
<Multiple />
53-
<TreeData />
54-
<Suffix />
55-
<Async />
56-
</div>
57-
) : null}
36+
<Basic />
37+
<Checkable />
38+
<Multiple />
39+
<TreeData />
40+
<Suffix />
41+
<Async />
5842
<api>
5943
<template slot="cn">
6044
<CN />

0 commit comments

Comments
 (0)