From 432a89f45a3df74dd0fd13b0b36875102e9816ea Mon Sep 17 00:00:00 2001 From: "zhili.wzl" Date: Thu, 27 Jan 2022 16:19:02 +0800 Subject: [PATCH] chore: update schema configs --- formily/antd/src/schemas/FormLayout.ts | 2 +- formily/next/src/schemas/FormItem.ts | 2 +- formily/next/src/schemas/FormLayout.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/formily/antd/src/schemas/FormLayout.ts b/formily/antd/src/schemas/FormLayout.ts index 1ae31c192..366d27b5f 100644 --- a/formily/antd/src/schemas/FormLayout.ts +++ b/formily/antd/src/schemas/FormLayout.ts @@ -49,7 +49,7 @@ export const FormLayout: ISchema = { }, layout: { type: 'string', - enum: ['horizontal', 'vertical', 'inline', null], + enum: ['vertical', 'horizontal', 'inline', null], 'x-decorator': 'FormItem', 'x-component': 'Select', 'x-component-props': { diff --git a/formily/next/src/schemas/FormItem.ts b/formily/next/src/schemas/FormItem.ts index b87bea7c1..029353f2c 100644 --- a/formily/next/src/schemas/FormItem.ts +++ b/formily/next/src/schemas/FormItem.ts @@ -74,7 +74,7 @@ export const FormItem: ISchema = { }, layout: { type: 'string', - enum: ['horizontal', 'vertical', 'inline', null], + enum: ['vertical', 'horizontal', 'inline', null], 'x-decorator': 'FormItem', 'x-component': 'Select', 'x-component-props': { diff --git a/formily/next/src/schemas/FormLayout.ts b/formily/next/src/schemas/FormLayout.ts index 517aae1eb..3c609ada7 100644 --- a/formily/next/src/schemas/FormLayout.ts +++ b/formily/next/src/schemas/FormLayout.ts @@ -49,7 +49,7 @@ export const FormLayout: ISchema = { }, layout: { type: 'string', - enum: ['horizontal', 'vertical', 'inline', null], + enum: ['vertical', 'horizontal', 'inline', null], 'x-decorator': 'FormItem', 'x-component': 'Select', 'x-component-props': {