diff --git a/docs/.g2plot-plot-api/indented-tree-graph.md b/docs/.g2plot-plot-api/indented-tree-graph.md index 68bc5d2c2..30638b1b4 100644 --- a/docs/.g2plot-plot-api/indented-tree-graph.md +++ b/docs/.g2plot-plot-api/indented-tree-graph.md @@ -25,8 +25,8 @@ Data, see the sample code, `title`、`body`、`footer` only for nodeType: `card` interface Items { content: string | number; value?: string | number; - style?: CSSStyleDeclaration; - valueStyle?: CSSStyleDeclaration; + style?: LabelStyle; + valueStyle?: LabelStyle; } type NodeConfig = string | number | Items; diff --git a/docs/.g2plot-plot-api/indented-tree-graph.zh-CN.md b/docs/.g2plot-plot-api/indented-tree-graph.zh-CN.md index 708d8d508..1d8e22988 100644 --- a/docs/.g2plot-plot-api/indented-tree-graph.zh-CN.md +++ b/docs/.g2plot-plot-api/indented-tree-graph.zh-CN.md @@ -25,8 +25,8 @@ title: 缩进树图 interface Items { content: string | number; value?: string | number; - style?: CSSStyleDeclaration; - valueStyle?: CSSStyleDeclaration; + style?: LabelStyle; + valueStyle?: LabelStyle; } type NodeConfig = string | number | Items;