From f8e2bbc2ffce639f9799e365fdf497c4e633788d Mon Sep 17 00:00:00 2001 From: lhbxs <596850703@qq.com> Date: Wed, 28 Feb 2024 11:19:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E5=B8=A6=E4=BA=86=E7=9A=84=E5=89=AF=E4=BD=9C?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/form-render/schema/simple.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/form-render/schema/simple.ts b/docs/form-render/schema/simple.ts index 05d76f4ca..09dcaf158 100644 --- a/docs/form-render/schema/simple.ts +++ b/docs/form-render/schema/simple.ts @@ -1,5 +1,5 @@ export default { - type: "object", + type: 'object', properties: { input: { title: '输入框', @@ -10,6 +10,13 @@ export default { title: '下拉框', type: 'string', widget: 'select', + props: { + options: [ + { label: '早', value: 'a' }, + { label: '中', value: 'b' }, + { label: '晚', value: 'c' } + ] + } } } };