chore(Demo): restore ApiTree schema show

This commit is contained in:
invalid w 2023-10-14 11:19:58 +08:00
parent 094a33c0c2
commit d4f2641b9a

View File

@ -510,27 +510,27 @@
span: 8,
},
},
// {
// field: 'field36',
// component: 'ApiTree',
// label: 'Tree',
// helpMessage: ['ApiTree', '使'],
// required: true,
// componentProps: {
// api: treeOptionsListApi,
// params: {
// count: 2,
// },
// afterFetch: (v) => {
// //do something
// return v;
// },
// resultField: 'list',
// },
// colProps: {
// span: 8,
// },
// },
{
field: 'field36',
component: 'ApiTree',
label: '远程Tree',
helpMessage: ['ApiTree组件', '使用接口提供的数据生成选项'],
required: true,
componentProps: {
api: treeOptionsListApi,
params: {
count: 2,
},
afterFetch: (v) => {
//do something
return v;
},
resultField: 'list',
},
colProps: {
span: 8,
},
},
{
field: 'divider-linked',
component: 'Divider',