diff --git a/docs/api/component/control.zh.md b/docs/api/component/control.zh.md index 886038fe27..a824506d78 100644 --- a/docs/api/component/control.zh.md +++ b/docs/api/component/control.zh.md @@ -60,8 +60,8 @@ scene.addControl(scaleControl); 配置项 option 控件配置项 -overlayers 将一组图层添加到图层列表, -overlayers Object +overlayers 将一组图层添加到图层列表 +overlayers Object key: 列表显示的图层名字可以自定义 layer: 图层对象 overlayers 示例 diff --git a/site/pages/index.zh.tsx b/site/pages/index.zh.tsx index fa2ef5db35..af8e6cdcf4 100644 --- a/site/pages/index.zh.tsx +++ b/site/pages/index.zh.tsx @@ -88,18 +88,18 @@ const IndexPage = () => { ]; const notifications = [ + { + type: t('推荐'), + title: t('如何用L7制作省市下钻疫情地图'), + date: '2020.01.31å', + link: 'https://www.yuque.com/xiaofengcanyue/scpehq/zf094u', + }, { type: t('新版发布'), title: t('L7 2.0 正式版'), date: '2020.01.06', link: 'https://www.yuque.com/antv/blog/haygzb', }, - { - type: t('推荐'), - title: t('欢迎进入 2020 可视化智能研发时代'), - date: '2020.01.08', - link: 'https://www.yuque.com/antv/blog/ygdubv', - }, ]; const cases = [