diff --git a/packages/app/src/api/index.ts b/packages/app/src/api/index.ts index 521adbc696..bb04bc3f14 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 8cf2a7ae9c..a2c2234c1e 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 bdce618d11..92f129361a 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 864961a5f4..192fb1d876 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