Skip to content

Commit 20648c8

Browse files
committed
docs: update docs
1 parent 3b1cf27 commit 20648c8

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

components/date-picker/index.en-US.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke
5858
| disabledTime | to specify the time that cannot be selected | function(date) | - |
5959
| format | to set the date format, refer to [moment.js](http://momentjs.com/) | string | "YYYY-MM-DD" |
6060
| renderExtraFooter | render extra footer in panel by setting a scoped slot | slot="renderExtraFooter" | - |
61-
| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](#/us/components/time-picker/API) |
61+
| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/ant-design/components/time-picker/#API) |
6262
| showTime.defaultValue | to set default time of selected date | [moment](http://momentjs.com/) | moment() |
6363
| showToday | whether to show "Today" button | boolean | true |
6464
| value(v-model) | to set date | [moment](http://momentjs.com/) | - |
@@ -107,7 +107,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke
107107
| format | to set the date format | string | "YYYY-MM-DD HH:mm:ss" |
108108
| ranges | preseted ranges for quick selection | { \[range: string\]: [moment](http://momentjs.com/)\[] } \| () => { \[range: string\]: [moment](http://momentjs.com/)\[] } | - |
109109
| renderExtraFooter | render extra footer in panel by setting a scoped slot| slot="renderExtraFooter" | - |
110-
| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](#/us/components/time-picker/API) |
110+
| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/ant-design/components/time-picker/#API) |
111111
| showTime.defaultValue | to set default time of selected date, [demo](https://ant.design/components/date-picker/#components-date-picker-demo-disabled-date) | [moment](http://momentjs.com/)\[] | [moment(), moment()] |
112112
| value(v-model) | to set date | \[[moment](http://momentjs.com/), [moment](http://momentjs.com/)] | - |
113113

components/date-picker/index.zh-CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
| disabledTime | 不可选择的时间 | function(date) ||
6060
| format | 展示的日期格式,配置参考 [moment.js](http://momentjs.com/) | string | "YYYY-MM-DD" |
6161
| renderExtraFooter | 在面板中添加额外的页脚 | slot="renderExtraFooter" | - |
62-
| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](#/cn/components/time-picker/API) |
62+
| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/ant-design/components/time-picker-cn/#API) |
6363
| showTime.defaultValue | 设置用户选择日期时默认的时分秒 | [moment](http://momentjs.com/) | moment() |
6464
| showToday | 是否展示“今天”按钮 | boolean | true |
6565
| value(v-model) | 日期 | [moment](http://momentjs.com/) ||
@@ -110,7 +110,7 @@
110110
| format | 展示的日期格式 | string | "YYYY-MM-DD HH:mm:ss" |
111111
| ranges       | 预设时间范围快捷选择 | { \[range: string\]: [moment](http://momentjs.com/)\[] } \| () => { \[range: string\]: [moment](http://momentjs.com/)\[] } ||
112112
| renderExtraFooter | 在面板中添加额外的页脚 | slot="renderExtraFooter" | - |
113-
| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](#/cn/components/time-picker/API) |
113+
| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/ant-design/components/time-picker-cn/#API) |
114114
| showTime.defaultValue | 设置用户选择日期时默认的时分秒 | [moment](http://momentjs.com/)\[] | [moment(), moment()] |
115115
| value(v-model) | 日期 | [moment](http://momentjs.com/)\[] ||
116116

components/dropdown/index.en-US.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| -------- | ----------- | ---- | ------- |
77
| disabled | whether the dropdown menu is disabled | boolean | - |
88
| getPopupContainer | to set the container of the dropdown menu. The default is to create a `div` element in `body`, you can reset it to the scrolling area and make a relative reposition. [example](https://codepen.io/afc163/pen/zEjNOy?editors=0010) | Function(triggerNode) | `() => document.body` |
9-
| overlay(slot) | the dropdown menu | [Menu](#/us/components/menu) | - |
9+
| overlay(slot) | the dropdown menu | [Menu](/ant-design/components/menu) | - |
1010
| placement | placement of pop menu: `bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` |
1111
| trigger | the trigger mode which executes the drop-down action | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` |
1212
| visible(v-model) | whether the dropdown menu is visible | boolean | - |
@@ -16,7 +16,7 @@
1616
| --- | --- | --- |
1717
| visibleChange | a callback function takes an argument: `visible`, is executed when the visible state is changed | function(visible) |
1818

19-
You should use [Menu](#/us/components/menu/) as `overlay`. The menu items and dividers are also available by using `Menu.Item` and `Menu.Divider`.
19+
You should use [Menu](/ant-design/components/menu/) as `overlay`. The menu items and dividers are also available by using `Menu.Item` and `Menu.Divider`.
2020

2121
> Warning: You must set a unique `key` for `Menu.Item`.
2222
>
@@ -27,17 +27,17 @@ You should use [Menu](#/us/components/menu/) as `overlay`. The menu items and di
2727
| Property | Description | Type | Default |
2828
| -------- | ----------- | ---- | ------- |
2929
| disabled | whether the dropdown menu is disabled | boolean | - |
30-
| overlay(slot) | the dropdown menu | [Menu](#/us/components/menu) | - |
30+
| overlay(slot) | the dropdown menu | [Menu](/ant-design/components/menu) | - |
3131
| placement | placement of pop menu: `bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` |
32-
| size | size of the button, the same as [Button](#/us/components/button) | string | `default` |
32+
| size | size of the button, the same as [Button](/ant-design/components/button) | string | `default` |
3333
| trigger | the trigger mode which executes the drop-down action | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` |
34-
| type | type of the button, the same as [Button](#/us/components/button) | string | `default` |
34+
| type | type of the button, the same as [Button](/ant-design/components/button) | string | `default` |
3535
| visible | whether the dropdown menu is visible | boolean | - |
3636

3737

3838

3939
### Dropdown.Button events
4040
| Events Name | Description | Arguments |
4141
| --- | --- | --- |
42-
| click | a callback function, the same as [Button](#/us/components/button), which will be executed when you click the button on the left | Function |
42+
| click | a callback function, the same as [Button](/ant-design/components/button), which will be executed when you click the button on the left | Function |
4343
| visibleChange | a callback function takes an argument: `visible`, is executed when the visible state is changed | Function |

components/dropdown/index.zh-CN.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
| --- | --- | --- | --- |
77
| disabled | 菜单是否禁用 | boolean | - |
88
| getPopupContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。 | Function(triggerNode) | `() => document.body` |
9-
| overlay(slot) | 菜单 | [Menu](#/cn/components/menu) | - |
9+
| overlay(slot) | 菜单 | [Menu](/ant-design/components/menu-cn) | - |
1010
| placement | 菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` |
1111
| trigger | 触发下拉的行为 | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` |
1212
| visible(v-model) | 菜单是否显示 | boolean | - |
1313

14-
`overlay` 菜单使用 [Menu](#/cn/components/menu/),还包括菜单项 `Menu.Item`,分割线 `Menu.Divider`
14+
`overlay` 菜单使用 [Menu](/ant-design/components/menu-cn/),还包括菜单项 `Menu.Item`,分割线 `Menu.Divider`
1515

1616
> 注意: Menu.Item 必须设置唯一的 key 属性。
1717
>
@@ -28,15 +28,15 @@
2828
| 参数 | 说明 | 类型 | 默认值 |
2929
| --- | --- | --- | --- |
3030
| disabled | 菜单是否禁用 | boolean | - |
31-
| overlay(slot) | 菜单 | [Menu](#/cn/components/menu/) | - |
31+
| overlay(slot) | 菜单 | [Menu](/ant-design/components/menu-cn/) | - |
3232
| placement | 菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` |
33-
| size | 按钮大小,和 [Button](#/cn/components/button/) 一致 | string | 'default' |
33+
| size | 按钮大小,和 [Button](/ant-design/components/button-cn/) 一致 | string | 'default' |
3434
| trigger | 触发下拉的行为 | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` |
35-
| type | 按钮类型,和 [Button](#/cn/components/button/) 一致 | string | 'default' |
35+
| type | 按钮类型,和 [Button](/ant-design/components/button-cn/) 一致 | string | 'default' |
3636
| visible(v-model) | 菜单是否显示 | boolean | - |
3737

3838
### Dropdown.Button事件
3939
| 事件名称 | 说明 | 回调参数 |
4040
| --- | --- | --- |
41-
| click | 点击左侧按钮的回调,和 [Button](#/cn/components/button/) 一致 | Function |
41+
| click | 点击左侧按钮的回调,和 [Button](/ant-design/components/button-cn/) 一致 | Function |
4242
| visibleChange | 菜单显示状态改变时调用,参数为 visible | function(visible) |

components/popconfirm/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| confirm | callback of confirmation | function(e) | - |
1515
| visibleChange | Callback executed when visibility of the tooltip card is changed | function(visible) | - |
1616

17-
Consult [Tooltip's documentation](#/us/components/tooltip/#API) to find more APIs.
17+
Consult [Tooltip's documentation](/ant-design/components/tooltip/#API) to find more APIs.
1818

1919
## Note
2020

components/popconfirm/index.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| confirm | 点击确认的回调 | function(e) |
1515
| visibleChange | 显示隐藏的回调 | function(visible) |
1616

17-
更多属性请参考 [Tooltip](#/cn/components/tooltip/#API)
17+
更多属性请参考 [Tooltip](/ant-design/components/tooltip-cn/#API)
1818

1919
## 注意
2020

0 commit comments

Comments
 (0)