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(); }}> - } type={'primary'} danger>{title} + } type={'ghost'} danger>{title} > ) 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={( +