docs: update tree-select
parent
747d5496e7
commit
a07810568a
|
@ -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 />
|
||||||
|
|
Loading…
Reference in New Issue