From d4f2641b9a4434e3da8ffd2f5bd2d6bb55216307 Mon Sep 17 00:00:00 2001 From: invalid w Date: Sat, 14 Oct 2023 11:19:58 +0800 Subject: [PATCH] chore(Demo): restore ApiTree schema show --- src/views/demo/form/index.vue | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/views/demo/form/index.vue b/src/views/demo/form/index.vue index fc1660177..89fd096bd 100644 --- a/src/views/demo/form/index.vue +++ b/src/views/demo/form/index.vue @@ -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',