diff --git a/docs/components/action.md b/docs/zh-CN/components/action.md similarity index 100% rename from docs/components/action.md rename to docs/zh-CN/components/action.md diff --git a/docs/components/alert.md b/docs/zh-CN/components/alert.md similarity index 100% rename from docs/components/alert.md rename to docs/zh-CN/components/alert.md diff --git a/docs/components/audio.md b/docs/zh-CN/components/audio.md similarity index 100% rename from docs/components/audio.md rename to docs/zh-CN/components/audio.md diff --git a/docs/components/button-group.md b/docs/zh-CN/components/button-group.md similarity index 100% rename from docs/components/button-group.md rename to docs/zh-CN/components/button-group.md diff --git a/docs/components/button.md b/docs/zh-CN/components/button.md similarity index 100% rename from docs/components/button.md rename to docs/zh-CN/components/button.md diff --git a/docs/components/card.md b/docs/zh-CN/components/card.md similarity index 100% rename from docs/components/card.md rename to docs/zh-CN/components/card.md diff --git a/docs/components/cards.md b/docs/zh-CN/components/cards.md similarity index 100% rename from docs/components/cards.md rename to docs/zh-CN/components/cards.md diff --git a/docs/components/carousel.md b/docs/zh-CN/components/carousel.md similarity index 100% rename from docs/components/carousel.md rename to docs/zh-CN/components/carousel.md diff --git a/docs/components/chart.md b/docs/zh-CN/components/chart.md similarity index 95% rename from docs/components/chart.md rename to docs/zh-CN/components/chart.md index ac1421e95..cd57af700 100755 --- a/docs/components/chart.md +++ b/docs/zh-CN/components/chart.md @@ -345,6 +345,22 @@ ECharts 中有些配置项可以写函数,比如 formatter 和 sort,但在 J } ``` +## 使用地图 + +从 amis 1.1.0 版本开始,ECharts 版本升级到 5.0.0,为了规避政策风险,在这个版本删除了之前的地图 geojson,如果需要这个功能需要手动引入。 + +方法是去 `https://github.com/apache/incubator-echarts/tree/master/test/data/map/js` 下载 `china.js` 和 `world.js`。 + +对于 npm 版本,直接 `import` 这两个文件就行。 + +对于 JS SDK 版本,需要先加入如下代码如下方式: + +```javascript +window.echarts = amisRequire('echarts'); +``` + +然后通过 script 标签引入这两个文件。 + ## 属性表 | 属性名 | 类型 | 默认值 | 说明 | diff --git a/docs/components/collapse.md b/docs/zh-CN/components/collapse.md similarity index 100% rename from docs/components/collapse.md rename to docs/zh-CN/components/collapse.md diff --git a/docs/components/color.md b/docs/zh-CN/components/color.md similarity index 100% rename from docs/components/color.md rename to docs/zh-CN/components/color.md diff --git a/docs/components/component.md b/docs/zh-CN/components/component.md similarity index 100% rename from docs/components/component.md rename to docs/zh-CN/components/component.md diff --git a/docs/components/container.md b/docs/zh-CN/components/container.md similarity index 100% rename from docs/components/container.md rename to docs/zh-CN/components/container.md diff --git a/docs/components/crud.md b/docs/zh-CN/components/crud.md similarity index 100% rename from docs/components/crud.md rename to docs/zh-CN/components/crud.md diff --git a/docs/components/custom.md b/docs/zh-CN/components/custom.md similarity index 100% rename from docs/components/custom.md rename to docs/zh-CN/components/custom.md diff --git a/docs/components/date.md b/docs/zh-CN/components/date.md similarity index 100% rename from docs/components/date.md rename to docs/zh-CN/components/date.md diff --git a/docs/components/dialog.md b/docs/zh-CN/components/dialog.md similarity index 100% rename from docs/components/dialog.md rename to docs/zh-CN/components/dialog.md diff --git a/docs/components/divider.md b/docs/zh-CN/components/divider.md similarity index 100% rename from docs/components/divider.md rename to docs/zh-CN/components/divider.md diff --git a/docs/components/drawer.md b/docs/zh-CN/components/drawer.md similarity index 100% rename from docs/components/drawer.md rename to docs/zh-CN/components/drawer.md diff --git a/docs/components/dropdown-button.md b/docs/zh-CN/components/dropdown-button.md similarity index 100% rename from docs/components/dropdown-button.md rename to docs/zh-CN/components/dropdown-button.md diff --git a/docs/components/each.md b/docs/zh-CN/components/each.md similarity index 100% rename from docs/components/each.md rename to docs/zh-CN/components/each.md diff --git a/docs/components/form/array.md b/docs/zh-CN/components/form/array.md similarity index 100% rename from docs/components/form/array.md rename to docs/zh-CN/components/form/array.md diff --git a/docs/components/form/button-group.md b/docs/zh-CN/components/form/button-group.md similarity index 100% rename from docs/components/form/button-group.md rename to docs/zh-CN/components/form/button-group.md diff --git a/docs/components/form/button-toolbar.md b/docs/zh-CN/components/form/button-toolbar.md similarity index 100% rename from docs/components/form/button-toolbar.md rename to docs/zh-CN/components/form/button-toolbar.md diff --git a/docs/components/form/button.md b/docs/zh-CN/components/form/button.md similarity index 100% rename from docs/components/form/button.md rename to docs/zh-CN/components/form/button.md diff --git a/docs/components/form/chain-select.md b/docs/zh-CN/components/form/chain-select.md similarity index 100% rename from docs/components/form/chain-select.md rename to docs/zh-CN/components/form/chain-select.md diff --git a/docs/components/form/checkbox.md b/docs/zh-CN/components/form/checkbox.md similarity index 100% rename from docs/components/form/checkbox.md rename to docs/zh-CN/components/form/checkbox.md diff --git a/docs/components/form/checkboxes.md b/docs/zh-CN/components/form/checkboxes.md similarity index 100% rename from docs/components/form/checkboxes.md rename to docs/zh-CN/components/form/checkboxes.md diff --git a/docs/components/form/city.md b/docs/zh-CN/components/form/city.md similarity index 100% rename from docs/components/form/city.md rename to docs/zh-CN/components/form/city.md diff --git a/docs/components/form/color.md b/docs/zh-CN/components/form/color.md similarity index 100% rename from docs/components/form/color.md rename to docs/zh-CN/components/form/color.md diff --git a/docs/components/form/combo.md b/docs/zh-CN/components/form/combo.md similarity index 100% rename from docs/components/form/combo.md rename to docs/zh-CN/components/form/combo.md diff --git a/docs/components/form/date-range.md b/docs/zh-CN/components/form/date-range.md similarity index 100% rename from docs/components/form/date-range.md rename to docs/zh-CN/components/form/date-range.md diff --git a/docs/components/form/date.md b/docs/zh-CN/components/form/date.md similarity index 100% rename from docs/components/form/date.md rename to docs/zh-CN/components/form/date.md diff --git a/docs/components/form/datetime-range.md b/docs/zh-CN/components/form/datetime-range.md similarity index 100% rename from docs/components/form/datetime-range.md rename to docs/zh-CN/components/form/datetime-range.md diff --git a/docs/components/form/datetime.md b/docs/zh-CN/components/form/datetime.md similarity index 100% rename from docs/components/form/datetime.md rename to docs/zh-CN/components/form/datetime.md diff --git a/docs/components/form/diff-editor.md b/docs/zh-CN/components/form/diff-editor.md similarity index 100% rename from docs/components/form/diff-editor.md rename to docs/zh-CN/components/form/diff-editor.md diff --git a/docs/components/form/editor.md b/docs/zh-CN/components/form/editor.md similarity index 100% rename from docs/components/form/editor.md rename to docs/zh-CN/components/form/editor.md diff --git a/docs/components/form/fieldset.md b/docs/zh-CN/components/form/fieldset.md similarity index 100% rename from docs/components/form/fieldset.md rename to docs/zh-CN/components/form/fieldset.md diff --git a/docs/components/form/file.md b/docs/zh-CN/components/form/file.md similarity index 100% rename from docs/components/form/file.md rename to docs/zh-CN/components/form/file.md diff --git a/docs/components/form/formitem.md b/docs/zh-CN/components/form/formitem.md similarity index 100% rename from docs/components/form/formitem.md rename to docs/zh-CN/components/form/formitem.md diff --git a/docs/components/form/formula.md b/docs/zh-CN/components/form/formula.md similarity index 100% rename from docs/components/form/formula.md rename to docs/zh-CN/components/form/formula.md diff --git a/docs/components/form/grid.md b/docs/zh-CN/components/form/grid.md similarity index 100% rename from docs/components/form/grid.md rename to docs/zh-CN/components/form/grid.md diff --git a/docs/components/form/group.md b/docs/zh-CN/components/form/group.md similarity index 100% rename from docs/components/form/group.md rename to docs/zh-CN/components/form/group.md diff --git a/docs/components/form/hbox.md b/docs/zh-CN/components/form/hbox.md similarity index 100% rename from docs/components/form/hbox.md rename to docs/zh-CN/components/form/hbox.md diff --git a/docs/components/form/hidden.md b/docs/zh-CN/components/form/hidden.md similarity index 100% rename from docs/components/form/hidden.md rename to docs/zh-CN/components/form/hidden.md diff --git a/docs/components/form/image.md b/docs/zh-CN/components/form/image.md similarity index 100% rename from docs/components/form/image.md rename to docs/zh-CN/components/form/image.md diff --git a/docs/components/form/index.md b/docs/zh-CN/components/form/index.md similarity index 100% rename from docs/components/form/index.md rename to docs/zh-CN/components/form/index.md diff --git a/docs/components/form/input-group.md b/docs/zh-CN/components/form/input-group.md similarity index 100% rename from docs/components/form/input-group.md rename to docs/zh-CN/components/form/input-group.md diff --git a/docs/components/form/list.md b/docs/zh-CN/components/form/list.md similarity index 100% rename from docs/components/form/list.md rename to docs/zh-CN/components/form/list.md diff --git a/docs/components/form/matrix.md b/docs/zh-CN/components/form/matrix.md similarity index 100% rename from docs/components/form/matrix.md rename to docs/zh-CN/components/form/matrix.md diff --git a/docs/components/form/month.md b/docs/zh-CN/components/form/month.md similarity index 100% rename from docs/components/form/month.md rename to docs/zh-CN/components/form/month.md diff --git a/docs/components/form/nestedselect.md b/docs/zh-CN/components/form/nestedselect.md similarity index 100% rename from docs/components/form/nestedselect.md rename to docs/zh-CN/components/form/nestedselect.md diff --git a/docs/components/form/number.md b/docs/zh-CN/components/form/number.md similarity index 100% rename from docs/components/form/number.md rename to docs/zh-CN/components/form/number.md diff --git a/docs/components/form/options.md b/docs/zh-CN/components/form/options.md similarity index 100% rename from docs/components/form/options.md rename to docs/zh-CN/components/form/options.md diff --git a/docs/components/form/panel.md b/docs/zh-CN/components/form/panel.md similarity index 100% rename from docs/components/form/panel.md rename to docs/zh-CN/components/form/panel.md diff --git a/docs/components/form/picker.md b/docs/zh-CN/components/form/picker.md similarity index 100% rename from docs/components/form/picker.md rename to docs/zh-CN/components/form/picker.md diff --git a/docs/components/form/radios.md b/docs/zh-CN/components/form/radios.md similarity index 100% rename from docs/components/form/radios.md rename to docs/zh-CN/components/form/radios.md diff --git a/docs/components/form/range.md b/docs/zh-CN/components/form/range.md similarity index 100% rename from docs/components/form/range.md rename to docs/zh-CN/components/form/range.md diff --git a/docs/components/form/rating.md b/docs/zh-CN/components/form/rating.md similarity index 100% rename from docs/components/form/rating.md rename to docs/zh-CN/components/form/rating.md diff --git a/docs/components/form/repeat.md b/docs/zh-CN/components/form/repeat.md similarity index 100% rename from docs/components/form/repeat.md rename to docs/zh-CN/components/form/repeat.md diff --git a/docs/components/form/rich-text.md b/docs/zh-CN/components/form/rich-text.md similarity index 100% rename from docs/components/form/rich-text.md rename to docs/zh-CN/components/form/rich-text.md diff --git a/docs/components/form/select.md b/docs/zh-CN/components/form/select.md similarity index 100% rename from docs/components/form/select.md rename to docs/zh-CN/components/form/select.md diff --git a/docs/components/form/service.md b/docs/zh-CN/components/form/service.md similarity index 100% rename from docs/components/form/service.md rename to docs/zh-CN/components/form/service.md diff --git a/docs/components/form/static.md b/docs/zh-CN/components/form/static.md similarity index 100% rename from docs/components/form/static.md rename to docs/zh-CN/components/form/static.md diff --git a/docs/components/form/subform.md b/docs/zh-CN/components/form/subform.md similarity index 100% rename from docs/components/form/subform.md rename to docs/zh-CN/components/form/subform.md diff --git a/docs/components/form/switch.md b/docs/zh-CN/components/form/switch.md similarity index 100% rename from docs/components/form/switch.md rename to docs/zh-CN/components/form/switch.md diff --git a/docs/components/form/table.md b/docs/zh-CN/components/form/table.md similarity index 100% rename from docs/components/form/table.md rename to docs/zh-CN/components/form/table.md diff --git a/docs/components/form/tabs-transfer.md b/docs/zh-CN/components/form/tabs-transfer.md similarity index 100% rename from docs/components/form/tabs-transfer.md rename to docs/zh-CN/components/form/tabs-transfer.md diff --git a/docs/components/form/tabs.md b/docs/zh-CN/components/form/tabs.md similarity index 100% rename from docs/components/form/tabs.md rename to docs/zh-CN/components/form/tabs.md diff --git a/docs/components/form/tag.md b/docs/zh-CN/components/form/tag.md similarity index 100% rename from docs/components/form/tag.md rename to docs/zh-CN/components/form/tag.md diff --git a/docs/components/form/text.md b/docs/zh-CN/components/form/text.md similarity index 100% rename from docs/components/form/text.md rename to docs/zh-CN/components/form/text.md diff --git a/docs/components/form/textarea.md b/docs/zh-CN/components/form/textarea.md similarity index 100% rename from docs/components/form/textarea.md rename to docs/zh-CN/components/form/textarea.md diff --git a/docs/components/form/time.md b/docs/zh-CN/components/form/time.md similarity index 100% rename from docs/components/form/time.md rename to docs/zh-CN/components/form/time.md diff --git a/docs/components/form/transfer.md b/docs/zh-CN/components/form/transfer.md similarity index 100% rename from docs/components/form/transfer.md rename to docs/zh-CN/components/form/transfer.md diff --git a/docs/components/form/tree.md b/docs/zh-CN/components/form/tree.md similarity index 100% rename from docs/components/form/tree.md rename to docs/zh-CN/components/form/tree.md diff --git a/docs/components/form/treeselect.md b/docs/zh-CN/components/form/treeselect.md similarity index 100% rename from docs/components/form/treeselect.md rename to docs/zh-CN/components/form/treeselect.md diff --git a/docs/components/form/uuid.md b/docs/zh-CN/components/form/uuid.md similarity index 100% rename from docs/components/form/uuid.md rename to docs/zh-CN/components/form/uuid.md diff --git a/docs/components/form/year.md b/docs/zh-CN/components/form/year.md similarity index 100% rename from docs/components/form/year.md rename to docs/zh-CN/components/form/year.md diff --git a/docs/components/grid.md b/docs/zh-CN/components/grid.md similarity index 100% rename from docs/components/grid.md rename to docs/zh-CN/components/grid.md diff --git a/docs/components/hbox.md b/docs/zh-CN/components/hbox.md similarity index 100% rename from docs/components/hbox.md rename to docs/zh-CN/components/hbox.md diff --git a/docs/components/html.md b/docs/zh-CN/components/html.md similarity index 100% rename from docs/components/html.md rename to docs/zh-CN/components/html.md diff --git a/docs/components/icon.md b/docs/zh-CN/components/icon.md similarity index 100% rename from docs/components/icon.md rename to docs/zh-CN/components/icon.md diff --git a/docs/components/iframe.md b/docs/zh-CN/components/iframe.md similarity index 100% rename from docs/components/iframe.md rename to docs/zh-CN/components/iframe.md diff --git a/docs/components/image.md b/docs/zh-CN/components/image.md similarity index 100% rename from docs/components/image.md rename to docs/zh-CN/components/image.md diff --git a/docs/components/images.md b/docs/zh-CN/components/images.md similarity index 100% rename from docs/components/images.md rename to docs/zh-CN/components/images.md diff --git a/docs/components/json.md b/docs/zh-CN/components/json.md similarity index 100% rename from docs/components/json.md rename to docs/zh-CN/components/json.md diff --git a/docs/components/link.md b/docs/zh-CN/components/link.md similarity index 100% rename from docs/components/link.md rename to docs/zh-CN/components/link.md diff --git a/docs/components/list.md b/docs/zh-CN/components/list.md similarity index 100% rename from docs/components/list.md rename to docs/zh-CN/components/list.md diff --git a/docs/components/mapping.md b/docs/zh-CN/components/mapping.md similarity index 100% rename from docs/components/mapping.md rename to docs/zh-CN/components/mapping.md diff --git a/docs/components/nav.md b/docs/zh-CN/components/nav.md similarity index 100% rename from docs/components/nav.md rename to docs/zh-CN/components/nav.md diff --git a/docs/components/page.md b/docs/zh-CN/components/page.md similarity index 100% rename from docs/components/page.md rename to docs/zh-CN/components/page.md diff --git a/docs/components/pagination-wrapper.md b/docs/zh-CN/components/pagination-wrapper.md similarity index 100% rename from docs/components/pagination-wrapper.md rename to docs/zh-CN/components/pagination-wrapper.md diff --git a/docs/components/panel.md b/docs/zh-CN/components/panel.md similarity index 100% rename from docs/components/panel.md rename to docs/zh-CN/components/panel.md diff --git a/docs/components/progress.md b/docs/zh-CN/components/progress.md similarity index 100% rename from docs/components/progress.md rename to docs/zh-CN/components/progress.md diff --git a/docs/components/qrcode.md b/docs/zh-CN/components/qrcode.md similarity index 100% rename from docs/components/qrcode.md rename to docs/zh-CN/components/qrcode.md diff --git a/docs/components/radios.md b/docs/zh-CN/components/radios.md similarity index 100% rename from docs/components/radios.md rename to docs/zh-CN/components/radios.md diff --git a/docs/components/remark.md b/docs/zh-CN/components/remark.md similarity index 100% rename from docs/components/remark.md rename to docs/zh-CN/components/remark.md diff --git a/docs/components/service.md b/docs/zh-CN/components/service.md similarity index 100% rename from docs/components/service.md rename to docs/zh-CN/components/service.md diff --git a/docs/components/sparkline.md b/docs/zh-CN/components/sparkline.md similarity index 100% rename from docs/components/sparkline.md rename to docs/zh-CN/components/sparkline.md diff --git a/docs/components/spinner.md b/docs/zh-CN/components/spinner.md similarity index 100% rename from docs/components/spinner.md rename to docs/zh-CN/components/spinner.md diff --git a/docs/components/status.md b/docs/zh-CN/components/status.md similarity index 100% rename from docs/components/status.md rename to docs/zh-CN/components/status.md diff --git a/docs/components/switch.md b/docs/zh-CN/components/switch.md similarity index 100% rename from docs/components/switch.md rename to docs/zh-CN/components/switch.md diff --git a/docs/components/table.md b/docs/zh-CN/components/table.md similarity index 100% rename from docs/components/table.md rename to docs/zh-CN/components/table.md diff --git a/docs/components/tabs.md b/docs/zh-CN/components/tabs.md similarity index 100% rename from docs/components/tabs.md rename to docs/zh-CN/components/tabs.md diff --git a/docs/components/tasks.md b/docs/zh-CN/components/tasks.md similarity index 100% rename from docs/components/tasks.md rename to docs/zh-CN/components/tasks.md diff --git a/docs/components/tpl.md b/docs/zh-CN/components/tpl.md similarity index 100% rename from docs/components/tpl.md rename to docs/zh-CN/components/tpl.md diff --git a/docs/components/video.md b/docs/zh-CN/components/video.md similarity index 100% rename from docs/components/video.md rename to docs/zh-CN/components/video.md diff --git a/docs/components/wizard.md b/docs/zh-CN/components/wizard.md similarity index 100% rename from docs/components/wizard.md rename to docs/zh-CN/components/wizard.md diff --git a/docs/components/wrapper.md b/docs/zh-CN/components/wrapper.md similarity index 100% rename from docs/components/wrapper.md rename to docs/zh-CN/components/wrapper.md diff --git a/docs/concepts/action.md b/docs/zh-CN/concepts/action.md similarity index 100% rename from docs/concepts/action.md rename to docs/zh-CN/concepts/action.md diff --git a/docs/concepts/data-mapping.md b/docs/zh-CN/concepts/data-mapping.md similarity index 100% rename from docs/concepts/data-mapping.md rename to docs/zh-CN/concepts/data-mapping.md diff --git a/docs/concepts/datascope-and-datachain.md b/docs/zh-CN/concepts/datascope-and-datachain.md similarity index 100% rename from docs/concepts/datascope-and-datachain.md rename to docs/zh-CN/concepts/datascope-and-datachain.md diff --git a/docs/concepts/expression.md b/docs/zh-CN/concepts/expression.md similarity index 100% rename from docs/concepts/expression.md rename to docs/zh-CN/concepts/expression.md diff --git a/docs/concepts/linkage.md b/docs/zh-CN/concepts/linkage.md similarity index 100% rename from docs/concepts/linkage.md rename to docs/zh-CN/concepts/linkage.md diff --git a/docs/concepts/schema.md b/docs/zh-CN/concepts/schema.md similarity index 100% rename from docs/concepts/schema.md rename to docs/zh-CN/concepts/schema.md diff --git a/docs/concepts/style.md b/docs/zh-CN/concepts/style.md similarity index 100% rename from docs/concepts/style.md rename to docs/zh-CN/concepts/style.md diff --git a/docs/concepts/template.md b/docs/zh-CN/concepts/template.md similarity index 100% rename from docs/concepts/template.md rename to docs/zh-CN/concepts/template.md diff --git a/docs/extend/addon.md b/docs/zh-CN/extend/addon.md similarity index 100% rename from docs/extend/addon.md rename to docs/zh-CN/extend/addon.md diff --git a/docs/extend/custom-react.md b/docs/zh-CN/extend/custom-react.md similarity index 100% rename from docs/extend/custom-react.md rename to docs/zh-CN/extend/custom-react.md diff --git a/docs/extend/custom-sdk.md b/docs/zh-CN/extend/custom-sdk.md similarity index 100% rename from docs/extend/custom-sdk.md rename to docs/zh-CN/extend/custom-sdk.md diff --git a/docs/extend/i18n.md b/docs/zh-CN/extend/i18n.md similarity index 100% rename from docs/extend/i18n.md rename to docs/zh-CN/extend/i18n.md diff --git a/docs/extend/internal.md b/docs/zh-CN/extend/internal.md similarity index 100% rename from docs/extend/internal.md rename to docs/zh-CN/extend/internal.md diff --git a/docs/index.md b/docs/zh-CN/index.md similarity index 100% rename from docs/index.md rename to docs/zh-CN/index.md diff --git a/docs/start/faq.md b/docs/zh-CN/start/faq.md similarity index 100% rename from docs/start/faq.md rename to docs/zh-CN/start/faq.md diff --git a/docs/start/getting-started.md b/docs/zh-CN/start/getting-started.md similarity index 98% rename from docs/start/getting-started.md rename to docs/zh-CN/start/getting-started.md index 3830b06fa..69b3dcd02 100644 --- a/docs/start/getting-started.md +++ b/docs/zh-CN/start/getting-started.md @@ -106,11 +106,11 @@ let amisScoped = amis.embed( return response; } - // 可以不传,用来实现页面跳转 - // jumpTo: location => {}, + // 可以不传,用来接管页面跳转,比如用 location.href 或 window.open,或者自己实现 amis 配置更新 + // jumpTo: to => { location.href = to; }, // 可以不传,用来实现地址栏更新 - // updateLocation: (location, replace) => {}, + // updateLocation: (to, replace) => {}, // 可以不传,用来判断是否目标地址当前地址。 // isCurrentUrl: url => {}, diff --git a/docs/style/css-vars.md b/docs/zh-CN/style/css-vars.md similarity index 100% rename from docs/style/css-vars.md rename to docs/zh-CN/style/css-vars.md diff --git a/docs/style/index.md b/docs/zh-CN/style/index.md similarity index 100% rename from docs/style/index.md rename to docs/zh-CN/style/index.md diff --git a/docs/style/responsive-design.md b/docs/zh-CN/style/responsive-design.md similarity index 100% rename from docs/style/responsive-design.md rename to docs/zh-CN/style/responsive-design.md diff --git a/docs/style/state.md b/docs/zh-CN/style/state.md similarity index 100% rename from docs/style/state.md rename to docs/zh-CN/style/state.md diff --git a/docs/types/api.md b/docs/zh-CN/types/api.md similarity index 100% rename from docs/types/api.md rename to docs/zh-CN/types/api.md diff --git a/docs/types/definitions.md b/docs/zh-CN/types/definitions.md similarity index 100% rename from docs/types/definitions.md rename to docs/zh-CN/types/definitions.md diff --git a/docs/types/schemanode.md b/docs/zh-CN/types/schemanode.md similarity index 100% rename from docs/types/schemanode.md rename to docs/zh-CN/types/schemanode.md diff --git a/examples/components/App.tsx b/examples/components/App.tsx index 4be2ef969..eb59690e3 100644 --- a/examples/components/App.tsx +++ b/examples/components/App.tsx @@ -23,7 +23,7 @@ import { } from 'react-router'; import Select from '../../src/components/Select'; import DocSearch from './DocSearch'; -import Doc, {docs} from './Doc'; +import Doc, {docsCN} from './Doc'; import Example, {examples} from './Example'; import CssDocs, {cssDocs} from './CssDocs'; import CSSDocs from './CssDocs'; @@ -249,7 +249,10 @@ export class App extends React.PureComponent<{ )}