diff --git a/.dumi/theme/builtins/DemoWrapper/index.tsx b/.dumi/theme/builtins/DemoWrapper/index.tsx
index 7a57eb599..da5687ee0 100644
--- a/.dumi/theme/builtins/DemoWrapper/index.tsx
+++ b/.dumi/theme/builtins/DemoWrapper/index.tsx
@@ -29,7 +29,6 @@ const DemoWrapper: typeof DumiDemoGrid = ({ items }) => {
(acc, item) => {
const { previewerProps } = item;
const { debug } = previewerProps;
- console.log(debug);
if (debug && !showDebug) return acc;
@@ -37,7 +36,7 @@ const DemoWrapper: typeof DumiDemoGrid = ({ items }) => {
...item,
previewerProps: {
...previewerProps,
- expand: expandAll,
+ defaultShowCode: expandAll,
/**
* extra marker for the original debug
*/
@@ -66,7 +65,9 @@ const DemoWrapper: typeof DumiDemoGrid = ({ items }) => {
+
}
>
{showDebug ? (
diff --git a/packages/charts/src/Pie/index.md b/packages/charts/src/Pie/index.md
index 88dbf8884..b2d2b901a 100644
--- a/packages/charts/src/Pie/index.md
+++ b/packages/charts/src/Pie/index.md
@@ -7,14 +7,11 @@ nav:
## 代码演示
+
-
-
-
-
## API
diff --git a/packages/design/src/card/index.md b/packages/design/src/card/index.md
index 9b824a540..e27ae0fad 100644
--- a/packages/design/src/card/index.md
+++ b/packages/design/src/card/index.md
@@ -12,21 +12,15 @@ nav:
## 代码演示
+
-
-
-
-
-
-
-
-
+
## API
diff --git a/packages/design/src/empty/index.md b/packages/design/src/empty/index.md
index be273d9ce..ca30cfce1 100644
--- a/packages/design/src/empty/index.md
+++ b/packages/design/src/empty/index.md
@@ -17,24 +17,16 @@ nav:
## 代码演示
+
-
-
-
-
-
-
-
-
-
## API
diff --git a/packages/design/src/form/index.md b/packages/design/src/form/index.md
index 8d8478dc4..7bd399182 100644
--- a/packages/design/src/form/index.md
+++ b/packages/design/src/form/index.md
@@ -13,16 +13,13 @@ nav:
## 代码演示
+
-
-
+
-
-
-
## API
| 参数 | 说明 | 类型 | 默认值 | 版本 |
diff --git a/packages/design/src/typography/index.md b/packages/design/src/typography/index.md
index 4c1ca7cc9..467e2f1ac 100644
--- a/packages/design/src/typography/index.md
+++ b/packages/design/src/typography/index.md
@@ -11,14 +11,11 @@ nav:
## 代码演示
+
-
-
-
-
## API
diff --git a/packages/ui/src/PageContainer/index.md b/packages/ui/src/PageContainer/index.md
index c8f1a45f9..9dbfff435 100644
--- a/packages/ui/src/PageContainer/index.md
+++ b/packages/ui/src/PageContainer/index.md
@@ -13,18 +13,13 @@ nav:
## 代码演示
+
-
-
-
-
-
-
## 与路由搭配使用