diff --git a/packages/design/src/card/index.tsx b/packages/design/src/card/index.tsx index bf2b98765..5afe2b426 100644 --- a/packages/design/src/card/index.tsx +++ b/packages/design/src/card/index.tsx @@ -71,6 +71,7 @@ const Card = React.forwardRef( return wrapSSR( { @@ -141,7 +144,7 @@ const ConfigProvider: ConfigProviderType = ({ {/* ref: https://ant.design/components/app */} {children} - + {injectStaticFunction && } diff --git a/packages/ui/src/PageContainer/demo/complete.tsx b/packages/ui/src/PageContainer/demo/complete.tsx index 563bd9a88..be52c4738 100644 --- a/packages/ui/src/PageContainer/demo/complete.tsx +++ b/packages/ui/src/PageContainer/demo/complete.tsx @@ -1,5 +1,5 @@ import { EllipsisOutlined } from '@oceanbase/icons'; -import { Button, Card, Descriptions, Dropdown, message, Radio, Table } from '@oceanbase/design'; +import { Button, Card, Descriptions, Dropdown, Modal, message, Table } from '@oceanbase/design'; import { PageContainer } from '@oceanbase/ui'; import React, { useState } from 'react'; @@ -17,6 +17,7 @@ export default () => { setLoading(false); message.success('刷新成功'); }); + return promise; }; const dataSource = [ @@ -127,7 +128,23 @@ export default () => { ], }, extra: [ - , + , ,