diff --git a/examples/pie/donut/API.zh.md b/examples/pie/donut/API.zh.md index 1a63431a11..571a3ad65d 100644 --- a/examples/pie/donut/API.zh.md +++ b/examples/pie/donut/API.zh.md @@ -342,7 +342,7 @@ triggerOff: 'mouseleave'; | 细分配置 | 类型 | 功能描述 | | ---------- | ------- | -------------------------------------------------------------- | | visible | boolean | 是否显示 | -| totalLabel | string | 总计值标签 | +| totalLabel | string | 总计值标签 | | triggerOn | string | 触发显示的事件。默认为 mousenter。如不配置则直接显示。 | | triggerOff | string | 触发隐藏的事件,默认为 mouseleave。需要同 triggerOn 搭配使用。 | | content | string | 显示文本,默认不配置。 | diff --git a/site/pages/index.zh.tsx b/site/pages/index.zh.tsx index 5d3bbc07d0..c8e0fa7048 100644 --- a/site/pages/index.zh.tsx +++ b/site/pages/index.zh.tsx @@ -49,6 +49,15 @@ const IndexPage = () => { }, ]; + const notifications = [ + { + type: 'News', + title: 'G2Plot 1.0 正式发布!', + date: '2020.03.17', + link: 'https://www.yuque.com/antv/blog/igfe4h', + }, + ]; + return ( <> @@ -62,6 +71,7 @@ const IndexPage = () => { className="banner" githubStarLink="https://ghbtns.com/github-btn.html?user=antvis&repo=g2plot&type=star&count=true&size=large" buttons={bannerButtons} + notifications={notifications} />