diff --git a/package.json b/package.json index 17e811f..f5bfe38 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ ], "contributors": [ "徐小夕 (https://github.com/MrXujiang))", + "dragon (https://github.com/zhangjinlongll))", "yehuozhili (https://github.com/yehuozhili))" - "dragon (https://github.com/zhangjinlongll))" ], "scripts": { "start": "umi dev", diff --git a/src/components/BasicShop/BasicComponents/Form/BasePopoverForm.tsx b/src/components/BasicShop/BasicComponents/Form/BasePopoverForm.tsx index 08c1eb4..fa758b1 100644 --- a/src/components/BasicShop/BasicComponents/Form/BasePopoverForm.tsx +++ b/src/components/BasicShop/BasicComponents/Form/BasePopoverForm.tsx @@ -1,4 +1,3 @@ -import styles from './baseForm.less'; import React, { ReactText } from 'react'; import { Button } from 'antd'; import { @@ -54,11 +53,9 @@ const BaseForm: TBaseForm = { MyRadio: (props: baseFormMyRadioTpl & { onChange: (v: string | undefined | number) => void }) => { const { label, onChange } = props; return ( -
- -
+ ); }, MyCheckbox: ( diff --git a/src/components/BasicShop/BasicComponents/Form/schema.ts b/src/components/BasicShop/BasicComponents/Form/schema.ts index 4bf7f90..89185a9 100644 --- a/src/components/BasicShop/BasicComponents/Form/schema.ts +++ b/src/components/BasicShop/BasicComponents/Form/schema.ts @@ -97,9 +97,9 @@ const Form: IFormSchema = { type: 'MySelect', label: '爱好', options: [ - { label: '选项一', value: '1' }, - { label: '选项二', value: '2' }, - { label: '选项三', value: '3' }, + { label: '篮球', value: '1' }, + { label: '乒乓球', value: '2' }, + { label: '健身', value: '3' }, ], }, ], diff --git a/src/components/CommonComponents/VisualComponents/Form/schema.ts b/src/components/CommonComponents/VisualComponents/Form/schema.ts index 4bf7f90..89185a9 100644 --- a/src/components/CommonComponents/VisualComponents/Form/schema.ts +++ b/src/components/CommonComponents/VisualComponents/Form/schema.ts @@ -97,9 +97,9 @@ const Form: IFormSchema = { type: 'MySelect', label: '爱好', options: [ - { label: '选项一', value: '1' }, - { label: '选项二', value: '2' }, - { label: '选项三', value: '3' }, + { label: '篮球', value: '1' }, + { label: '乒乓球', value: '2' }, + { label: '健身', value: '3' }, ], }, ], diff --git a/src/components/PanelComponents/FormEditor/index.tsx b/src/components/PanelComponents/FormEditor/index.tsx index ce84764..7c92e98 100644 --- a/src/components/PanelComponents/FormEditor/index.tsx +++ b/src/components/PanelComponents/FormEditor/index.tsx @@ -163,8 +163,8 @@ const FormEditor = (props: FormEditorProps) => { ); })} - - diff --git a/src/pages/editor/Container.tsx b/src/pages/editor/Container.tsx index 33e4f54..072e57b 100644 --- a/src/pages/editor/Container.tsx +++ b/src/pages/editor/Container.tsx @@ -552,7 +552,7 @@ const Container = (props: {