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