diff --git a/packages/app/src/api/index.ts b/packages/app/src/api/index.ts index 521adbc69..bb04bc3f1 100644 --- a/packages/app/src/api/index.ts +++ b/packages/app/src/api/index.ts @@ -28,7 +28,7 @@ const api = Api.create({ charset: 'utf8mb4', collate: 'utf8mb4_unicode_ci', }, - logging: false, + // logging: false, define: {}, sync, }, diff --git a/packages/app/src/components/actions/Destroy.tsx b/packages/app/src/components/actions/Destroy.tsx index 8cf2a7ae9..a2c2234c1 100644 --- a/packages/app/src/components/actions/Destroy.tsx +++ b/packages/app/src/components/actions/Destroy.tsx @@ -14,7 +14,7 @@ export function Destroy(props) { console.log('destroy', onTrigger); onTrigger && onTrigger(); }}> - + ) diff --git a/packages/app/src/components/views/Form/DrawerForm.tsx b/packages/app/src/components/views/Form/DrawerForm.tsx index bdce618d1..92f129361 100644 --- a/packages/app/src/components/views/Form/DrawerForm.tsx +++ b/packages/app/src/components/views/Form/DrawerForm.tsx @@ -62,7 +62,16 @@ export const DrawerForm = forwardRef((props: any, ref) => { setVisible(false); }} title={title} - footer={[ + footer={( +
+ + - ]} +
+ )} > {loading ? : ( - + 取消 确定 diff --git a/packages/app/src/global.less b/packages/app/src/global.less index 864961a5f..192fb1d87 100644 --- a/packages/app/src/global.less +++ b/packages/app/src/global.less @@ -23,4 +23,10 @@ .ant-page-header-footer { margin-top: 5px; +} + +.button-group { + display: flex; + justify-content: flex-end; + width: 100%; } \ No newline at end of file