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(); }}> - } 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 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={( +