docs: update tree-select

pull/1845/head
tangjinzhou 2020-02-25 17:52:59 +08:00
parent 747d5496e7
commit a07810568a
1 changed files with 6 additions and 22 deletions

View File

@ -29,32 +29,16 @@ export default {
subtitle: '树选择',
type: 'Data Entry',
title: 'TreeSelect',
data() {
return {
show: true,
};
},
render() {
return (
<div>
<button
onClick={() => {
this.show = !this.show;
}}
>
show
</button>
<md cn={md.cn} us={md.us} />
{this.show ? (
<div>
<Basic />
<Checkable />
<Multiple />
<TreeData />
<Suffix />
<Async />
</div>
) : null}
<Basic />
<Checkable />
<Multiple />
<TreeData />
<Suffix />
<Async />
<api>
<template slot="cn">
<CN />