feat: migrate TreeSelect component

This commit is contained in:
chenjiahan
2020-07-12 15:34:08 +08:00
parent d04c8c1e24
commit 7a197fc90f
13 changed files with 1281 additions and 24 deletions
+65
View File
@@ -0,0 +1,65 @@
const zhejiang = [
{
text: '杭州',
id: 1,
},
{
text: '温州',
id: 2,
},
{
text: '宁波',
id: 3,
disabled: true,
},
{
text: '义乌',
id: 4,
},
];
const jiangsu = [
{
text: '南京',
id: 5,
},
{
text: '无锡',
id: 6,
},
{
text: '徐州',
id: 7,
},
{
text: '苏州',
id: 8,
},
];
const fujian = [
{
text: '泉州',
id: 9,
},
{
text: '厦门',
id: 10,
},
];
export const zhCNData = [
{
text: '浙江',
children: zhejiang,
},
{
text: '江苏',
children: jiangsu,
},
{
text: '福建',
disabled: true,
children: fujian,
},
];