diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md index a74dc01c2..430ada773 100644 --- a/components/date-picker/index.en-US.md +++ b/components/date-picker/index.en-US.md @@ -58,7 +58,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke | disabledTime | to specify the time that cannot be selected | function(date) | - | | format | to set the date format, refer to [moment.js](http://momentjs.com/) | string | "YYYY-MM-DD" | | renderExtraFooter | render extra footer in panel by setting a scoped slot | slot="renderExtraFooter" | - | -| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](#/us/components/time-picker/API) | +| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/ant-design/components/time-picker/#API) | | showTime.defaultValue | to set default time of selected date | [moment](http://momentjs.com/) | moment() | | showToday | whether to show "Today" button | boolean | true | | value(v-model) | to set date | [moment](http://momentjs.com/) | - | @@ -107,7 +107,7 @@ The following APIs are shared by DatePicker, MonthPicker, RangePicker, WeekPicke | format | to set the date format | string | "YYYY-MM-DD HH:mm:ss" | | ranges | preseted ranges for quick selection | { \[range: string\]: [moment](http://momentjs.com/)\[] } \| () => { \[range: string\]: [moment](http://momentjs.com/)\[] } | - | | renderExtraFooter | render extra footer in panel by setting a scoped slot| slot="renderExtraFooter" | - | -| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](#/us/components/time-picker/API) | +| showTime | to provide an additional time selection | object\|boolean | [TimePicker Options](/ant-design/components/time-picker/#API) | | 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()] | | value(v-model) | to set date | \[[moment](http://momentjs.com/), [moment](http://momentjs.com/)] | - | diff --git a/components/date-picker/index.zh-CN.md b/components/date-picker/index.zh-CN.md index 2714170d2..5bebb83a8 100644 --- a/components/date-picker/index.zh-CN.md +++ b/components/date-picker/index.zh-CN.md @@ -59,7 +59,7 @@ | disabledTime | 不可选择的时间 | function(date) | 无 | | format | 展示的日期格式,配置参考 [moment.js](http://momentjs.com/) | string | "YYYY-MM-DD" | | renderExtraFooter | 在面板中添加额外的页脚 | slot="renderExtraFooter" | - | -| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](#/cn/components/time-picker/API) | +| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/ant-design/components/time-picker-cn/#API) | | showTime.defaultValue | 设置用户选择日期时默认的时分秒 | [moment](http://momentjs.com/) | moment() | | showToday | 是否展示“今天”按钮 | boolean | true | | value(v-model) | 日期 | [moment](http://momentjs.com/) | 无 | @@ -110,7 +110,7 @@ | format | 展示的日期格式 | string | "YYYY-MM-DD HH:mm:ss" | | ranges       | 预设时间范围快捷选择 | { \[range: string\]: [moment](http://momentjs.com/)\[] } \| () => { \[range: string\]: [moment](http://momentjs.com/)\[] } | 无 | | renderExtraFooter | 在面板中添加额外的页脚 | slot="renderExtraFooter" | - | -| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](#/cn/components/time-picker/API) | +| showTime | 增加时间选择功能 | Object\|boolean | [TimePicker Options](/ant-design/components/time-picker-cn/#API) | | showTime.defaultValue | 设置用户选择日期时默认的时分秒 | [moment](http://momentjs.com/)\[] | [moment(), moment()] | | value(v-model) | 日期 | [moment](http://momentjs.com/)\[] | 无 | diff --git a/components/dropdown/index.en-US.md b/components/dropdown/index.en-US.md index e0f7c5b56..132b5296d 100644 --- a/components/dropdown/index.en-US.md +++ b/components/dropdown/index.en-US.md @@ -6,7 +6,7 @@ | -------- | ----------- | ---- | ------- | | disabled | whether the dropdown menu is disabled | boolean | - | | 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` | -| overlay(slot) | the dropdown menu | [Menu](#/us/components/menu) | - | +| overlay(slot) | the dropdown menu | [Menu](/ant-design/components/menu) | - | | placement | placement of pop menu: `bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | | trigger | the trigger mode which executes the drop-down action | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` | | visible(v-model) | whether the dropdown menu is visible | boolean | - | @@ -16,7 +16,7 @@ | --- | --- | --- | | visibleChange | a callback function takes an argument: `visible`, is executed when the visible state is changed | function(visible) | -You should use [Menu](#/us/components/menu/) as `overlay`. The menu items and dividers are also available by using `Menu.Item` and `Menu.Divider`. +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`. > Warning: You must set a unique `key` for `Menu.Item`. > @@ -27,11 +27,11 @@ You should use [Menu](#/us/components/menu/) as `overlay`. The menu items and di | Property | Description | Type | Default | | -------- | ----------- | ---- | ------- | | disabled | whether the dropdown menu is disabled | boolean | - | -| overlay(slot) | the dropdown menu | [Menu](#/us/components/menu) | - | +| overlay(slot) | the dropdown menu | [Menu](/ant-design/components/menu) | - | | placement | placement of pop menu: `bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | -| size | size of the button, the same as [Button](#/us/components/button) | string | `default` | +| size | size of the button, the same as [Button](/ant-design/components/button) | string | `default` | | trigger | the trigger mode which executes the drop-down action | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` | -| type | type of the button, the same as [Button](#/us/components/button) | string | `default` | +| type | type of the button, the same as [Button](/ant-design/components/button) | string | `default` | | visible | whether the dropdown menu is visible | boolean | - | @@ -39,5 +39,5 @@ You should use [Menu](#/us/components/menu/) as `overlay`. The menu items and di ### Dropdown.Button events | Events Name | Description | Arguments | | --- | --- | --- | -| click | a callback function, the same as [Button](#/us/components/button), which will be executed when you click the button on the left | Function | +| 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 | | visibleChange | a callback function takes an argument: `visible`, is executed when the visible state is changed | Function | diff --git a/components/dropdown/index.zh-CN.md b/components/dropdown/index.zh-CN.md index b65b5cf1d..9e7ce0d5b 100644 --- a/components/dropdown/index.zh-CN.md +++ b/components/dropdown/index.zh-CN.md @@ -6,12 +6,12 @@ | --- | --- | --- | --- | | disabled | 菜单是否禁用 | boolean | - | | getPopupContainer | 菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。 | Function(triggerNode) | `() => document.body` | -| overlay(slot) | 菜单 | [Menu](#/cn/components/menu) | - | +| overlay(slot) | 菜单 | [Menu](/ant-design/components/menu-cn) | - | | placement | 菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | | trigger | 触发下拉的行为 | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` | | visible(v-model) | 菜单是否显示 | boolean | - | -`overlay` 菜单使用 [Menu](#/cn/components/menu/),还包括菜单项 `Menu.Item`,分割线 `Menu.Divider`。 +`overlay` 菜单使用 [Menu](/ant-design/components/menu-cn/),还包括菜单项 `Menu.Item`,分割线 `Menu.Divider`。 > 注意: Menu.Item 必须设置唯一的 key 属性。 > @@ -28,15 +28,15 @@ | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | disabled | 菜单是否禁用 | boolean | - | -| overlay(slot) | 菜单 | [Menu](#/cn/components/menu/) | - | +| overlay(slot) | 菜单 | [Menu](/ant-design/components/menu-cn/) | - | | placement | 菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight` | String | `bottomLeft` | -| size | 按钮大小,和 [Button](#/cn/components/button/) 一致 | string | 'default' | +| size | 按钮大小,和 [Button](/ant-design/components/button-cn/) 一致 | string | 'default' | | trigger | 触发下拉的行为 | Array<`click`\|`hover`\|`contextmenu`> | `['hover']` | -| type | 按钮类型,和 [Button](#/cn/components/button/) 一致 | string | 'default' | +| type | 按钮类型,和 [Button](/ant-design/components/button-cn/) 一致 | string | 'default' | | visible(v-model) | 菜单是否显示 | boolean | - | ### Dropdown.Button事件 | 事件名称 | 说明 | 回调参数 | | --- | --- | --- | -| click | 点击左侧按钮的回调,和 [Button](#/cn/components/button/) 一致 | Function | +| click | 点击左侧按钮的回调,和 [Button](/ant-design/components/button-cn/) 一致 | Function | | visibleChange | 菜单显示状态改变时调用,参数为 visible | function(visible) | diff --git a/components/popconfirm/index.en-US.md b/components/popconfirm/index.en-US.md index 66115882b..c86df4f43 100644 --- a/components/popconfirm/index.en-US.md +++ b/components/popconfirm/index.en-US.md @@ -14,7 +14,7 @@ | confirm | callback of confirmation | function(e) | - | | visibleChange | Callback executed when visibility of the tooltip card is changed | function(visible) | - | -Consult [Tooltip's documentation](#/us/components/tooltip/#API) to find more APIs. +Consult [Tooltip's documentation](/ant-design/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 c8a536e1a..4622da9ea 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -14,7 +14,7 @@ | confirm | 点击确认的回调 | function(e) | | visibleChange | 显示隐藏的回调 | function(visible) | -更多属性请参考 [Tooltip](#/cn/components/tooltip/#API)。 +更多属性请参考 [Tooltip](/ant-design/components/tooltip-cn/#API)。 ## 注意