feat: migrate TreeSelect component
This commit is contained in:
@@ -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,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user