diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index a14900df5..874e7754d 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -10,7 +10,7 @@ If your issue was not created using the app above, it will be closed immediately ⚠️ ⚠️ ⚠️ 注意:请使用下面的链接来新建 issue: ⚠️ ⚠️ ⚠️ https://vuecomponent.github.io/issue-helper/ - 国内镜像:http://tangjinzhou.gitee.io/issue-helper/ + 国内镜像:http://ant-design-vue.gitee.io/issue-helper/ 不是用上面的链接创建的 issue 会被立即关闭。 --> diff --git a/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md b/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md index 4f920a141..41306aa0d 100644 --- a/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md +++ b/.github/ISSUE_TEMPLATE/----please-use-new-issue-ant-design-vue---.md @@ -10,4 +10,4 @@ The issue which is not created via https://vuecomponent.github.io/issue-helper/ --- -注意:不是用 https://vuecomponent.github.io/issue-helper/ 或 http://tangjinzhou.gitee.io/issue-helper/ 创建的 issue 会被立即关闭。 +注意:不是用 https://vuecomponent.github.io/issue-helper/ 或 http://ant-design-vue.gitee.io/issue-helper/ 创建的 issue 会被立即关闭。 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..f55848bb1 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,53 @@ +First of all, thank you for your contribution! 😄 + +New feature please send pull request to feature branch, and rest to master branch. +Pull request will be merged after one of collaborators approve. +Please makes sure that these form are filled before submitting your pull request, thank you! + +[[中文版模板 / Chinese template](https://github.com/vueComponent/ant-design-vue/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md)] + +### This is a ... + +- [ ] New feature +- [ ] Bug fix +- [ ] Site / document update +- [ ] Component style update +- [ ] TypeScript definition update +- [ ] Refactoring +- [ ] Code style optimization +- [ ] Branch merge +- [ ] Other (about what?) + +### What's the background? + +> 1. Describe the source of requirement. +> 2. Resolve what problem. +> 3. Related issue link. + +### API Realization (Optional if not new feature) + +> 1. Basic thought of solution and other optional proposal. +> 2. List final API realization and usage sample. +> 3. GIF or snapshot should be provided if includes UI/interactive modification. + +### What's the effect? (Optional if not new feature) + +> 1. Does this PR affect user? Which part will be affected? +> 2. What will say in changelog? +> 3. Does this PR contains potential break change or other risk? + +### Changelog description (Optional if not new feature) + +> 1. English description +> 2. Chinese description (optional) + +### Self Check before Merge + +- [ ] Doc is updated/provided or not needed +- [ ] Demo is updated/provided or not needed +- [ ] TypeScript definition is updated/provided or not needed +- [ ] Changelog is provided or not needed + +### Additional Plan? (Optional if not new feature) + +> If this PR related with other PR or following info. You can type here. \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE/pr_cn.md b/.github/PULL_REQUEST_TEMPLATE/pr_cn.md new file mode 100644 index 000000000..60bcdb279 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pr_cn.md @@ -0,0 +1,52 @@ +首先,感谢你的贡献! 😄 + +新特性请提交至 feature 分支,其余可提交至 master 分支。 +在一个维护者审核通过后合并。 +请确保填写以下 pull request 的信息,谢谢!~ + +[[English Template / 英文模板](?expand=1)] + +### 这个变动的性质是 + +- [ ] 新特性提交 +- [ ] 日常 bug 修复 +- [ ] 站点、文档改进 +- [ ] 组件样式改进 +- [ ] TypeScript 定义更新 +- [ ] 重构 +- [ ] 代码风格优化 +- [ ] 分支合并 +- [ ] 其他改动(是关于什么的改动?) + +### 需求背景 + +> 1. 描述相关需求的来源。 +> 2. 要解决的问题。 +> 3. 相关的 issue 讨论链接。 + +### 实现方案和 API(非新功能可选) + +> 1. 基本的解决思路和其他可选方案。 +> 2. 列出最终的 API 实现和用法。 +> 3. 涉及UI/交互变动需要有截图或 GIF。 + +### 对用户的影响和可能的风险(非新功能可选) + +> 1. 这个改动对用户端是否有影响?影响的方面有哪些? +> 2. 是否有可能隐含的 break change 和其他风险? + +### Changelog 描述(非新功能可选) + +> 1. 英文描述 +> 2. 中文描述(可选) + +### 请求合并前的自查清单 + +- [ ] 文档已补充或无须补充 +- [ ] 代码演示已提供或无须提供 +- [ ] TypeScript 定义已补充或无须补充 +- [ ] Changelog 已提供或无须提供 + +### 后续计划(非新功能可选) + +> 如果这个提交后面还有相关的其他提交和跟进信息,可以写在这里。 \ No newline at end of file diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 34a053d4c..32a7b0fa6 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -48,8 +48,8 @@ ### Component features and styles are synchronized to antd version 3.11.6. 1.3.0 brings two new Components, a lot of exciting changes and new features. -- 🔥 Added a new component [Comment](https://vuecomponent.github.io/ant-design-vue/components/comment/)。 -- 🔥 dded a new component [ConfigProvider](https://vuecomponent.github.io/ant-design-vue/components/config-provider/) for user to customize some global setting. +- 🔥 Added a new component [Comment](https://vue.ant.design/components/comment/)。 +- 🔥 dded a new component [ConfigProvider](https://vue.ant.design/components/config-provider/) for user to customize some global setting. Component Fixes / Enhancements: diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index c50aaa8c5..52d8e8b84 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -48,8 +48,8 @@ ### 组件功能和样式同步到 antd 3.11.6 版本。 1.3.0 版本带来了两个新组件,还有很多激动人心的变化和新特性。 -- 🔥 增加了一个新组件 [Comment](https://vuecomponent.github.io/ant-design-vue/components/comment-cn/)。 -- 🔥 增加了一个新组件 [ConfigProvider](https://vuecomponent.github.io/ant-design-vue/components/config-provider-cn/) 为组件提供统一的全局化配置。 +- 🔥 增加了一个新组件 [Comment](https://vue.ant.design/components/comment-cn/)。 +- 🔥 增加了一个新组件 [ConfigProvider](https://vue.ant.design/components/config-provider-cn/) 为组件提供统一的全局化配置。 组件修复/功能增强: diff --git a/README-zh_CN.md b/README-zh_CN.md index d87059d3b..6ae9f8554 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -1,11 +1,11 @@

- - + +

- Ant Design Vue + Ant Design Vue

@@ -24,9 +24,9 @@ An enterprise-class UI components based on Ant Design and Vue.
-[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vuecomponent.github.io/ant-design-vue/) +[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vue.ant.design/) -[English](./README.md) | 简体中文 | [官网国内镜像](http://tangjinzhou.gitee.io/ant-design-vue/docs/vue/introduce-cn/) +[English](./README.md) | 简体中文 | [官网国内镜像](http://ant-design-vue.gitee.io/docs/vue/introduce-cn/)

Special thanks to the generous sponsorship by: @@ -66,7 +66,7 @@ $ yarn add ant-design-vue ## 链接 -- [首页](https://vuecomponent.github.io/ant-design-vue/) +- [首页](https://vue.ant.design/) - [Vue官方文档](https://cn.vuejs.org/) - [Antd React](http://ant.design/) diff --git a/README.md b/README.md index 986a91208..2492b67e5 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@

- - + +

- Ant Design Vue + Ant Design Vue

@@ -24,9 +24,9 @@ An enterprise-class UI components based on Ant Design and Vue.
-[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vuecomponent.github.io/ant-design-vue/) +[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://vue.ant.design/) -English | [简体中文](./README-zh_CN.md) | [官网国内镜像](http://tangjinzhou.gitee.io/ant-design-vue/docs/vue/introduce-cn/) +English | [简体中文](./README-zh_CN.md) | [官网国内镜像](http://ant-design-vue.gitee.io/docs/vue/introduce-cn/)

Special thanks to the generous sponsorship by: @@ -66,7 +66,7 @@ If you are in a bad network environment,you can try other registries and tools ## Links -- [Home page](https://vuecomponent.github.io/ant-design-vue/) +- [Home page](https://vue.ant.design/) - [Vue](https://vuejs.org/) - [Ant Design React](http://ant.design/) diff --git a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap index 5344c1781..d076f989e 100644 --- a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap +++ b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap @@ -4,13 +4,13 @@ exports[`renders ./components/auto-complete/demo/basic.md correctly 1`] = `

`; @@ -20,13 +20,13 @@ exports[`renders ./components/auto-complete/demo/certain-category.md correctly 1 @@ -41,7 +41,7 @@ exports[`renders ./components/auto-complete/demo/custom.md correctly 1`] = `
 
- + `; @@ -50,13 +50,13 @@ exports[`renders ./components/auto-complete/demo/non-case-sensitive.md correctly `; @@ -65,13 +65,13 @@ exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = ` `; @@ -81,13 +81,13 @@ exports[`renders ./components/auto-complete/demo/uncertain-category.md correctly diff --git a/components/avatar/__tests__/__snapshots__/demo.test.js.snap b/components/avatar/__tests__/__snapshots__/demo.test.js.snap index 5b6266448..4fdf8229e 100644 --- a/components/avatar/__tests__/__snapshots__/demo.test.js.snap +++ b/components/avatar/__tests__/__snapshots__/demo.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders ./components/avatar/demo/badge.md correctly 1`] = `

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

`; +exports[`renders ./components/avatar/demo/badge.md correctly 1`] = `

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

`; exports[`renders ./components/avatar/demo/basic.md correctly 1`] = `
diff --git a/components/badge/__tests__/__snapshots__/demo.test.js.snap b/components/badge/__tests__/__snapshots__/demo.test.js.snap index a2c8a7a5a..6d180c80f 100644 --- a/components/badge/__tests__/__snapshots__/demo.test.js.snap +++ b/components/badge/__tests__/__snapshots__/demo.test.js.snap @@ -1,10 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders ./components/badge/demo/basic.md correctly 1`] = `

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

`; +exports[`renders ./components/badge/demo/basic.md correctly 1`] = `

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

`; exports[`renders ./components/badge/demo/change.md correctly 1`] = `
-

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

+

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

0

1

2

3

4

5

6

7

8

9

Nov
-
+
@@ -313,14 +313,14 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
2016
-
+
Nov
-
+
@@ -619,14 +619,14 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
2016
-
+
Nov
-
+
@@ -1032,14 +1032,14 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
2017
-
+
Jan
-
+
@@ -1336,14 +1336,14 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
2017
-
+
Jan
-
+
diff --git a/components/calendar/__tests__/__snapshots__/index.test.js.snap b/components/calendar/__tests__/__snapshots__/index.test.js.snap index 2a8cfe8f8..a19bfd684 100644 --- a/components/calendar/__tests__/__snapshots__/index.test.js.snap +++ b/components/calendar/__tests__/__snapshots__/index.test.js.snap @@ -7,14 +7,14 @@ exports[`Calendar Calendar should support locale 1`] = `
2018年
-
+
Oct
-
+
diff --git a/components/card/__tests__/__snapshots__/demo.test.js.snap b/components/card/__tests__/__snapshots__/demo.test.js.snap index f02dc83b5..b51c75fae 100644 --- a/components/card/__tests__/__snapshots__/demo.test.js.snap +++ b/components/card/__tests__/__snapshots__/demo.test.js.snap @@ -251,7 +251,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
Card title
More
-
+
@@ -262,7 +262,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
-
+
@@ -286,7 +286,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
-
+
@@ -297,7 +297,7 @@ exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
-
+
diff --git a/components/carousel/__tests__/__snapshots__/demo.test.js.snap b/components/carousel/__tests__/__snapshots__/demo.test.js.snap index 9a61088a6..c0127f450 100644 --- a/components/carousel/__tests__/__snapshots__/demo.test.js.snap +++ b/components/carousel/__tests__/__snapshots__/demo.test.js.snap @@ -315,28 +315,28 @@ exports[`renders ./components/carousel/demo/fade.md correctly 1`] = `
-
+

1

-
+
~
2017
-
+
zář
-
+
@@ -2149,7 +2149,7 @@ exports[`Locale Provider should display the text as da 1`] = `
10 / side
-
+
@@ -2160,7 +2160,7 @@ exports[`Locale Provider should display the text as da 1`] = ` - +
~
2017
-
+
sep
-
+
@@ -2548,7 +2548,7 @@ exports[`Locale Provider should display the text as de 1`] = `
10 / Seite
-
+
@@ -2559,7 +2559,7 @@ exports[`Locale Provider should display the text as de 1`] = ` - +
~
2017
-
+
Sep.
-
+
@@ -2947,7 +2947,7 @@ exports[`Locale Provider should display the text as el 1`] = `
10 / σελίδα
-
+
@@ -2958,7 +2958,7 @@ exports[`Locale Provider should display the text as el 1`] = ` - +
~
2017
-
+
Σεπ
-
+
@@ -3346,7 +3346,7 @@ exports[`Locale Provider should display the text as en 1`] = `
10 / page
-
+
@@ -3357,7 +3357,7 @@ exports[`Locale Provider should display the text as en 1`] = ` - +
~
2017
-
+
Sep
-
+
@@ -3745,7 +3745,7 @@ exports[`Locale Provider should display the text as en-gb 1`] = `
10 / page
-
+
@@ -3756,7 +3756,7 @@ exports[`Locale Provider should display the text as en-gb 1`] = ` - +
~
2017
-
+
Sep
-
+
@@ -4144,7 +4144,7 @@ exports[`Locale Provider should display the text as es 1`] = `
10 / página
-
+
@@ -4155,7 +4155,7 @@ exports[`Locale Provider should display the text as es 1`] = ` - +
~
2017
-
+
sep.
-
+
@@ -4543,7 +4543,7 @@ exports[`Locale Provider should display the text as et 1`] = `
10 / leheküljel
-
+
@@ -4554,7 +4554,7 @@ exports[`Locale Provider should display the text as et 1`] = ` - +
~
2017
-
+
sept
-
+
@@ -4942,7 +4942,7 @@ exports[`Locale Provider should display the text as fa 1`] = `
10 / صفحه
-
+
@@ -4953,7 +4953,7 @@ exports[`Locale Provider should display the text as fa 1`] = ` - +
~
2017
-
+
سپتامبر
-
+
@@ -5341,7 +5341,7 @@ exports[`Locale Provider should display the text as fi 1`] = `
10 / sivu
-
+
@@ -5352,7 +5352,7 @@ exports[`Locale Provider should display the text as fi 1`] = ` - +
~
2017
-
+
syys
-
+
@@ -5740,7 +5740,7 @@ exports[`Locale Provider should display the text as fr 1`] = `
10 / page
-
+
@@ -5751,7 +5751,7 @@ exports[`Locale Provider should display the text as fr 1`] = ` - +
~
2017
-
+
sept.
-
+
@@ -6139,7 +6139,7 @@ exports[`Locale Provider should display the text as fr 2`] = `
10 / page
-
+
@@ -6150,7 +6150,7 @@ exports[`Locale Provider should display the text as fr 2`] = ` - +
~
2017
-
+
sept.
-
+
@@ -6538,7 +6538,7 @@ exports[`Locale Provider should display the text as he 1`] = `
10 / עמוד
-
+
@@ -6549,7 +6549,7 @@ exports[`Locale Provider should display the text as he 1`] = ` - +
~
2017
-
+
ספט׳
-
+
@@ -6937,7 +6937,7 @@ exports[`Locale Provider should display the text as hu 1`] = `
10 / oldal
-
+
@@ -6948,7 +6948,7 @@ exports[`Locale Provider should display the text as hu 1`] = ` - +
~
2017
-
+
szept
-
+
@@ -7336,7 +7336,7 @@ exports[`Locale Provider should display the text as id 1`] = `
10 / halaman
-
+
@@ -7347,7 +7347,7 @@ exports[`Locale Provider should display the text as id 1`] = ` - +
~
2017
-
+
Sep
-
+
@@ -7735,7 +7735,7 @@ exports[`Locale Provider should display the text as is 1`] = `
10 / síðu
-
+
@@ -7746,7 +7746,7 @@ exports[`Locale Provider should display the text as is 1`] = ` - +
~
2017
-
+
sep
-
+
@@ -8134,7 +8134,7 @@ exports[`Locale Provider should display the text as it 1`] = `
10 / pagina
-
+
@@ -8145,7 +8145,7 @@ exports[`Locale Provider should display the text as it 1`] = ` - +
~
2017
-
+
set
-
+
@@ -8533,7 +8533,7 @@ exports[`Locale Provider should display the text as ja 1`] = `
10 / ページ
-
+
@@ -8544,7 +8544,7 @@ exports[`Locale Provider should display the text as ja 1`] = ` - +
~
2017年
-
+
9月
-
+
@@ -8932,7 +8932,7 @@ exports[`Locale Provider should display the text as ko 1`] = `
10 / 쪽
-
+
@@ -8943,7 +8943,7 @@ exports[`Locale Provider should display the text as ko 1`] = ` - +
~
2017
-
+
9월
-
+
@@ -9331,7 +9331,7 @@ exports[`Locale Provider should display the text as ku-iq 1`] = `
10 / rûpel
-
+
@@ -9342,7 +9342,7 @@ exports[`Locale Provider should display the text as ku-iq 1`] = ` - +
~
2017
-
+
ئەیلوول
-
+
@@ -9730,7 +9730,7 @@ exports[`Locale Provider should display the text as mn-mn 1`] = `
10 / хуудас
-
+
@@ -9741,7 +9741,7 @@ exports[`Locale Provider should display the text as mn-mn 1`] = ` - +
~
2017
-
+
9 сар
-
+
@@ -10129,7 +10129,7 @@ exports[`Locale Provider should display the text as nb 1`] = `
10 / side
-
+
@@ -10140,7 +10140,7 @@ exports[`Locale Provider should display the text as nb 1`] = ` - +
~
2017
-
+
sep.
-
+
@@ -10528,7 +10528,7 @@ exports[`Locale Provider should display the text as ne-np 1`] = `
10 / page
-
+
@@ -10539,7 +10539,7 @@ exports[`Locale Provider should display the text as ne-np 1`] = ` - +
~
2017
-
+
सेप्ट.
-
+
@@ -10927,7 +10927,7 @@ exports[`Locale Provider should display the text as nl 1`] = `
10 / pagina
-
+
@@ -10938,7 +10938,7 @@ exports[`Locale Provider should display the text as nl 1`] = ` - +
~
2017
-
+
sep.
-
+
@@ -11326,7 +11326,7 @@ exports[`Locale Provider should display the text as nl-be 1`] = `
10 / pagina
-
+
@@ -11337,7 +11337,7 @@ exports[`Locale Provider should display the text as nl-be 1`] = ` - +
~
2017
-
+
sep.
-
+
@@ -11725,7 +11725,7 @@ exports[`Locale Provider should display the text as pl 1`] = `
10 / stronę
-
+
@@ -11736,7 +11736,7 @@ exports[`Locale Provider should display the text as pl 1`] = ` - +
~
2017
-
+
wrz
-
+
@@ -12124,7 +12124,7 @@ exports[`Locale Provider should display the text as pt 1`] = `
10 / página
-
+
@@ -12135,7 +12135,7 @@ exports[`Locale Provider should display the text as pt 1`] = ` - +
~
2017
-
+
Set
-
+
@@ -12523,7 +12523,7 @@ exports[`Locale Provider should display the text as pt-br 1`] = `
10 / páginas
-
+
@@ -12534,7 +12534,7 @@ exports[`Locale Provider should display the text as pt-br 1`] = ` - +
~
2017
-
+
Set
-
+
@@ -12922,7 +12922,7 @@ exports[`Locale Provider should display the text as ru 1`] = `
10 / стр.
-
+
@@ -12933,7 +12933,7 @@ exports[`Locale Provider should display the text as ru 1`] = ` - +
~
2017
-
+
сент.
-
+
@@ -13321,7 +13321,7 @@ exports[`Locale Provider should display the text as sk 1`] = `
10 / strana
-
+
@@ -13332,7 +13332,7 @@ exports[`Locale Provider should display the text as sk 1`] = ` - +
~
2017
-
+
sep
-
+
@@ -13720,7 +13720,7 @@ exports[`Locale Provider should display the text as sl 1`] = `
10 / strani
-
+
@@ -13731,7 +13731,7 @@ exports[`Locale Provider should display the text as sl 1`] = ` - +
~
2017
-
+
sep.
-
+
@@ -14119,7 +14119,7 @@ exports[`Locale Provider should display the text as sr 1`] = `
10 / strani
-
+
@@ -14130,7 +14130,7 @@ exports[`Locale Provider should display the text as sr 1`] = ` - +
~
2017
-
+
sep.
-
+
@@ -14518,7 +14518,7 @@ exports[`Locale Provider should display the text as sv 1`] = `
10 / sida
-
+
@@ -14529,7 +14529,7 @@ exports[`Locale Provider should display the text as sv 1`] = ` - +
~
2017
-
+
sep
-
+
@@ -14917,7 +14917,7 @@ exports[`Locale Provider should display the text as th 1`] = `
10 / หน้า
-
+
@@ -14928,7 +14928,7 @@ exports[`Locale Provider should display the text as th 1`] = ` - +
~
2017
-
+
ก.ย.
-
+
@@ -15316,7 +15316,7 @@ exports[`Locale Provider should display the text as tr 1`] = `
10 / sayfa
-
+
@@ -15327,7 +15327,7 @@ exports[`Locale Provider should display the text as tr 1`] = ` - +
~
2017
-
+
Eyl
-
+
@@ -15715,7 +15715,7 @@ exports[`Locale Provider should display the text as uk 1`] = `
10 / сторінці
-
+
@@ -15726,7 +15726,7 @@ exports[`Locale Provider should display the text as uk 1`] = ` - +
~
2017
-
+
вер
-
+
@@ -16114,7 +16114,7 @@ exports[`Locale Provider should display the text as vi 1`] = `
10 / trang
-
+
@@ -16125,7 +16125,7 @@ exports[`Locale Provider should display the text as vi 1`] = ` - +
~
2017
-
+
Th09
-
+
@@ -16513,7 +16513,7 @@ exports[`Locale Provider should display the text as zh-cn 1`] = `
10 条/页
-
+
@@ -16524,7 +16524,7 @@ exports[`Locale Provider should display the text as zh-cn 1`] = ` - +
~
2017年
-
+
9月
-
+
@@ -16912,7 +16912,7 @@ exports[`Locale Provider should display the text as zh-tw 1`] = `
10 條/頁
-
+
@@ -16923,7 +16923,7 @@ exports[`Locale Provider should display the text as zh-tw 1`] = ` - +
~
2017年
-
+
9月
-
+
diff --git a/components/modal/ConfirmDialog.jsx b/components/modal/ConfirmDialog.jsx index 37170d869..3f4cfee23 100644 --- a/components/modal/ConfirmDialog.jsx +++ b/components/modal/ConfirmDialog.jsx @@ -41,6 +41,7 @@ export default { contentPrefixCls, `${contentPrefixCls}-${props.type}`, `${prefixCls}-${props.type}`, + props.class, ); const cancelButton = okCancel && ( diff --git a/components/modal/index.en-US.md b/components/modal/index.en-US.md index 9d76c3710..88b717a1b 100644 --- a/components/modal/index.en-US.md +++ b/components/modal/index.en-US.md @@ -17,8 +17,8 @@ | maskStyle | Style for modal's mask element. | object | {} | | okText | Text of the OK button | string\|slot | `OK` | | okType | Button `type` of the OK button | string | `primary` | -| okButtonProps | The ok button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | -| cancelButtonProps | The cancel button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | +| okButtonProps | The ok button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | +| cancelButtonProps | The cancel button props, follow jsx [rules](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | | title | The modal dialog's title | string\|slot | - | | visible | Whether the modal dialog is visible or not | boolean | false | | width | Width of the modal dialog | string\|number | 520 | @@ -60,8 +60,8 @@ The properties of the object are follows: | maskClosable | Whether to close the modal dialog when the mask (area outside the modal) is clicked | Boolean | `false` | | okText | Text of the OK button | string | `OK` | | okType | Button `type` of the OK button | string | `primary` | -| okButtonProps | The ok button props | [ButtonProps](/ant-design-vue/components/button) | - | -| cancelButtonProps | The cancel button props | [ButtonProps](/ant-design-vue/components/button) | - | +| okButtonProps | The ok button props | [ButtonProps](/components/button) | - | +| cancelButtonProps | The cancel button props | [ButtonProps](/components/button) | - | | title | Title | string\|vNode | - | | width | Width of the modal dialog | string\|number | 416 | | zIndex | The `z-index` of the Modal | Number | 1000 | diff --git a/components/modal/index.zh-CN.md b/components/modal/index.zh-CN.md index fe8892505..28b87d4be 100644 --- a/components/modal/index.zh-CN.md +++ b/components/modal/index.zh-CN.md @@ -17,8 +17,8 @@ | maskStyle | 遮罩样式 | object | {} | | okText | 确认按钮文字 | string\|slot | 确定 | | okType | 确认按钮类型 | string | primary | -| okButtonProps | ok 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | -| cancelButtonProps | cancel 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/ant-design-vue/components/button/#API), on: {}} | - | +| okButtonProps | ok 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | +| cancelButtonProps | cancel 按钮 props, 遵循jsx[规范](https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx) | {props: [ButtonProps](/components/button/#API), on: {}} | - | | title | 标题 | string\|slot | 无 | | visible(v-model) | 对话框是否可见 | boolean | 无 | | width | 宽度 | string\|number | 520 | @@ -59,8 +59,8 @@ | keyboard | 是否支持键盘esc关闭 | boolean | true | | okText | 确认按钮文字 | string | 确定 | | okType | 确认按钮类型 | string | primary | -| okButtonProps | ok 按钮 props | [ButtonProps](/ant-design-vue/components/button) | - | -| cancelButtonProps | cancel 按钮 props | [ButtonProps](/ant-design-vue/components/button) | - | +| okButtonProps | ok 按钮 props | [ButtonProps](/components/button) | - | +| cancelButtonProps | cancel 按钮 props | [ButtonProps](/components/button) | - | | title | 标题 | string\|vNode | 无 | | width | 宽度 | string\|number | 416 | | zIndex | 设置 Modal 的 `z-index` | Number | 1000 | diff --git a/components/notification/__tests__/__snapshots__/demo.test.js.snap b/components/notification/__tests__/__snapshots__/demo.test.js.snap index f5f201259..91b4581fa 100644 --- a/components/notification/__tests__/__snapshots__/demo.test.js.snap +++ b/components/notification/__tests__/__snapshots__/demo.test.js.snap @@ -14,7 +14,7 @@ exports[`renders ./components/notification/demo/placement.md correctly 1`] = `
topRight
-
+
diff --git a/components/pagination/__tests__/__snapshots__/demo.test.js.snap b/components/pagination/__tests__/__snapshots__/demo.test.js.snap index a2cc4f335..9f8d11053 100644 --- a/components/pagination/__tests__/__snapshots__/demo.test.js.snap +++ b/components/pagination/__tests__/__snapshots__/demo.test.js.snap @@ -42,7 +42,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
10 / page
-
+
@@ -71,7 +71,7 @@ exports[`renders ./components/pagination/demo/changer.md correctly 1`] = `
20 / page
-
+
@@ -116,7 +116,7 @@ exports[`renders ./components/pagination/demo/custom-changer.md correctly 1`] =
10条/页
- + @@ -200,7 +200,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = `
10 / page
-
+
Goto
diff --git a/components/popconfirm/index.en-US.md b/components/popconfirm/index.en-US.md index 1c884bd8d..9e4d96c78 100644 --- a/components/popconfirm/index.en-US.md +++ b/components/popconfirm/index.en-US.md @@ -15,7 +15,7 @@ | confirm | callback of confirmation | function(e) | - | | visibleChange | Callback executed when visibility of the tooltip card is changed | function(visible) | - | -Consult [Tooltip's documentation](/ant-design-vue/components/tooltip/#API) to find more APIs. +Consult [Tooltip's documentation](/components/tooltip/#API) to find more APIs. ## Note diff --git a/components/popconfirm/index.zh-CN.md b/components/popconfirm/index.zh-CN.md index 8be2a0aa7..7418d6680 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -15,7 +15,7 @@ | confirm | 点击确认的回调 | function(e) | | visibleChange | 显示隐藏的回调 | function(visible) | -更多属性请参考 [Tooltip](/ant-design-vue/components/tooltip-cn/#API)。 +更多属性请参考 [Tooltip](/components/tooltip-cn/#API)。 ## 注意 diff --git a/components/popover/index.en-US.md b/components/popover/index.en-US.md index d647039e2..5c1b5dfb7 100644 --- a/components/popover/index.en-US.md +++ b/components/popover/index.en-US.md @@ -6,7 +6,7 @@ | content | Content of the card | string\|slot\|vNode | - | | title | Title of the card | string\|slot\|VNode | - | -Consult [Tooltip's documentation](/ant-design-vue/components/tooltip/#API) to find more APIs. +Consult [Tooltip's documentation](/components/tooltip/#API) to find more APIs. ## Note diff --git a/components/popover/index.zh-CN.md b/components/popover/index.zh-CN.md index 84751180a..bf2129789 100644 --- a/components/popover/index.zh-CN.md +++ b/components/popover/index.zh-CN.md @@ -6,7 +6,7 @@ | content | 卡片内容 | string\|slot\|VNode | 无 | | title | 卡片标题 | string\|slot\|VNode | 无 | -更多属性请参考 [Tooltip](/ant-design-vue/components/tooltip-cn/#API)。 +更多属性请参考 [Tooltip](/components/tooltip-cn/#API)。 ## 注意 diff --git a/components/progress/__tests__/__snapshots__/demo.test.js.snap b/components/progress/__tests__/__snapshots__/demo.test.js.snap index 7487706d7..786a21f7f 100644 --- a/components/progress/__tests__/__snapshots__/demo.test.js.snap +++ b/components/progress/__tests__/__snapshots__/demo.test.js.snap @@ -6,30 +6,30 @@ exports[`renders ./components/progress/demo/circle.md correctly 1`] = `
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #108ee9; stroke-dasharray: 221.48228207808043px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> 75%
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #ff5500; stroke-dasharray: 206.7167966062084px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;">
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #87d068; stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;">
@@ -41,10 +41,10 @@ exports[`renders ./components/progress/demo/circle-dynamic.md correctly 1`] = `
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="0" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #108ee9; stroke-dasharray: 0px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> 0%
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #ff5500; stroke-dasharray: 206.7167966062084px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;">
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #87d068; stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;">
@@ -96,10 +96,10 @@ exports[`renders ./components/progress/demo/dashboard.md correctly 1`] = `
+ a 47,47 0 1 1 0,94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 220.30970943744057px 295.3097094374406px; stroke-dashoffset: -37.5px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #108ee9; stroke-dasharray: 165.23228207808043px 295.3097094374406px; stroke-dashoffset: -37.5px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> 75%
@@ -130,20 +130,20 @@ exports[`renders ./components/progress/demo/format.md correctly 1`] = `
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #108ee9; stroke-dasharray: 221.48228207808043px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> 75 Days
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #87d068; stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> Done
@@ -255,20 +255,20 @@ exports[`renders ./components/progress/demo/linecap.md correctly 1`] = `
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="square" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="square" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #108ee9; stroke-dasharray: 221.48228207808043px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> 75%
+ a 47,47 0 1 1 0,94" stroke="#f3f3f3" stroke-linecap="square" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 220.30970943744057px 295.3097094374406px; stroke-dashoffset: -37.5px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,94" stroke-linecap="square" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: #108ee9; stroke-dasharray: 165.23228207808043px 295.3097094374406px; stroke-dashoffset: -37.5px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> 75%
diff --git a/components/progress/__tests__/__snapshots__/index.test.js.snap b/components/progress/__tests__/__snapshots__/index.test.js.snap index adb40d151..d1edc5651 100644 --- a/components/progress/__tests__/__snapshots__/index.test.js.snap +++ b/components/progress/__tests__/__snapshots__/index.test.js.snap @@ -5,10 +5,10 @@ exports[`Progress render format 1`] = `
+ a 47,47 0 1 1 0,-94" stroke="#f3f3f3" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-trail" style="stroke-dasharray: 295.3097094374406px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s;"> + a 47,47 0 1 1 0,-94" stroke-linecap="round" stroke-width="6" fill-opacity="0" class="ant-progress-circle-path" style="stroke: red; stroke-dasharray: 147.6548547187203px 295.3097094374406px; stroke-dashoffset: -0px; transition: stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s;"> 50%
`; diff --git a/components/select/__tests__/__snapshots__/demo.test.js.snap b/components/select/__tests__/__snapshots__/demo.test.js.snap index 66ca4b97d..2211e6559 100644 --- a/components/select/__tests__/__snapshots__/demo.test.js.snap +++ b/components/select/__tests__/__snapshots__/demo.test.js.snap @@ -20,21 +20,21 @@ exports[`renders ./components/select/demo/basic.md correctly 1`] = `
Lucy
-
+
Lucy
-
+
Lucy
-
+
@@ -46,14 +46,14 @@ exports[`renders ./components/select/demo/coordinate.md correctly 1`] = `
Zhejiang
-
+
Hangzhou
-
+
@@ -64,7 +64,7 @@ exports[`renders ./components/select/demo/custom-dropdown-menu.md correctly 1`]
Lucy
-
+
`; @@ -73,7 +73,7 @@ exports[`renders ./components/select/demo/hide-selected.md correctly 1`] = `
-
Inserted are removed
+
Inserted are removed
`; @@ -98,12 +98,12 @@ exports[`renders ./components/select/demo/multiple.md correctly 1`] = `
- +
- -
`; @@ -130,7 +130,7 @@ exports[`renders ./components/select/demo/options.md correctly 1`] = `
北京
-
+
`; @@ -139,11 +139,11 @@ exports[`renders ./components/select/demo/search.md correctly 1`] = `
- + -
+
`; @@ -152,7 +152,7 @@ exports[`renders ./components/select/demo/search-box.md correctly 1`] = `
- + @@ -165,7 +165,7 @@ exports[`renders ./components/select/demo/select-users.md correctly 1`] = `
- +
-
+

@@ -195,18 +195,18 @@ exports[`renders ./components/select/demo/size.md correctly 1`] = `
+ " class="ant-select-selection__placeholder" style="display: none; user-select: none;">Please select
+ " class="ant-select-arrow" style="user-select: none;">
@@ -266,7 +266,7 @@ exports[`renders ./components/select/demo/suffix.md correctly 1`] = `
Lucy
+ " class="ant-select-arrow" style="user-select: none;">
@@ -278,7 +278,7 @@ exports[`renders ./components/select/demo/tags.md correctly 1`] = `
+ " class="ant-select-selection__placeholder" style="display: block; user-select: none;">Tags Mode
+
diff --git a/docs/vue/faq.en-US.md b/docs/vue/faq.en-US.md index 4d491cd58..0cf99702f 100644 --- a/docs/vue/faq.en-US.md +++ b/docs/vue/faq.en-US.md @@ -22,7 +22,7 @@ Second, if you don't use the form's automatic check/collection feature, ie you d ### How to modify the default theme of Ant Design Vue? -See [Customize Theme](/ant-design-vue/docs/vue/customize-theme/)。 +See [Customize Theme](/docs/vue/customize-theme/)。 ### How to optimize momentjs bundle size with webpack? diff --git a/docs/vue/faq.zh-CN.md b/docs/vue/faq.zh-CN.md index eb51c9449..d4dab5c3a 100644 --- a/docs/vue/faq.zh-CN.md +++ b/docs/vue/faq.zh-CN.md @@ -22,7 +22,7 @@ ### 如何修改 Ant Design Vue 的默认主题? -参考[主题定制](/ant-design-vue/docs/vue/customize-theme/)。 +参考[主题定制](/docs/vue/customize-theme/)。 ### 如何配置 webpack 以优化 momentjs 的打包大小? diff --git a/docs/vue/getting-started.en-US.md b/docs/vue/getting-started.en-US.md index 976409b8a..51a406728 100644 --- a/docs/vue/getting-started.en-US.md +++ b/docs/vue/getting-started.en-US.md @@ -132,7 +132,7 @@ And this plugin can load styles too, read [usage](https://github.com/ant-design/ ## Customization -- [Customize Theme](/ant-design-vue/docs/vue/customize-theme) +- [Customize Theme](/docs/vue/customize-theme) - [Local Iconfont](https://github.com/ant-design/antd-init/tree/master/examples/local-iconfont) ## Tips diff --git a/docs/vue/getting-started.zh-CN.md b/docs/vue/getting-started.zh-CN.md index 170800a43..8d85a32d1 100644 --- a/docs/vue/getting-started.zh-CN.md +++ b/docs/vue/getting-started.zh-CN.md @@ -139,7 +139,7 @@ import { Button } from 'ant-design-vue'; ## 配置主题和字体 -- [改变主题](/ant-design-vue/docs/vue/customize-theme-cn) +- [改变主题](/docs/vue/customize-theme-cn) - [使用本地字体](https://github.com/ant-design/antd-init/tree/master/examples/local-iconfont) ## 小贴士 diff --git a/docs/vue/i18n.en-US.md b/docs/vue/i18n.en-US.md index eec7e2665..62a7e73e4 100644 --- a/docs/vue/i18n.en-US.md +++ b/docs/vue/i18n.en-US.md @@ -6,7 +6,7 @@ If you want to use other languages, you can follow the instructions below. ## LocaleProvider -ant-design-vue provides a Vue Component [LocaleProvider](/ant-design-vue/components/locale-provider) for configuring ant-design-vue locale text globally. +ant-design-vue provides a Vue Component [LocaleProvider](/components/locale-provider) for configuring ant-design-vue locale text globally. ````html