diff --git a/components/date-picker/demo/locale.md b/components/date-picker/demo/locale.md index 3a7508da72..00d15d15eb 100644 --- a/components/date-picker/demo/locale.md +++ b/components/date-picker/demo/locale.md @@ -9,13 +9,13 @@ title: 通过 `locale` 语言, 默认支持 `en_US`,`zh_CN`。 -moment 会自动使用当前时区,如果需要使用别的时区,则需要自行设置,设置方法请参考 [下面的文档](http://ant.design/components/date-picker/#DatePicker)。 +moment 会自动使用当前时区,如果需要使用别的时区,则需要自行设置,设置方法请参考 [下面的文档](/components/date-picker/#DatePicker)。 ## en-US Use locale to set the language. `en_US`, `zh_CN` are supported by default. -moment will use your time zone automatically. If you want to set other time zone, please set it by yourself. [More](http://ant.design/components/date-picker/#DatePicker) +moment will use your time zone automatically. If you want to set other time zone, please set it by yourself. [More](/components/date-picker/#DatePicker) ````jsx diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md index 264e07339f..0e50c8cb0a 100644 --- a/components/date-picker/index.en-US.md +++ b/components/date-picker/index.en-US.md @@ -43,7 +43,7 @@ moment.tz.setDefault('Asia/Shanghai') | open | open state of picker | bool | - | | onOpenChange | a callback function, can be executed whether the popup calendar is popped up or closed | function(status) | - | | getCalendarContainer | to set the container of the floating layer, while the default is to create a `div` element in `body` | function(trigger) | - | -| showTime | to provide an additional time selection | Object/Boolean | [TimePicker Options](http://ant.design/components/time-picker/#api) | +| showTime | to provide an additional time selection | Object/Boolean | [TimePicker Options](/components/time-picker/#api) | ### MonthPicker @@ -69,7 +69,7 @@ moment.tz.setDefault('Asia/Shanghai') | defaultValue | to set default date | [moment, moment] | - | | format | to set the date format | String | "YYYY-MM-DD HH:mm:ss" | | onChange | a callback function, can be executed when the selected time is changing | function(dates: [moment, moment], dateStrings: [string, string]) | - | -| showTime | to provide an additional time selection | Object/Boolean | [TimePicker Options](http://ant.design/components/time-picker/#api) | +| showTime | to provide an additional time selection | Object/Boolean | [TimePicker Options](/components/time-picker/#api) | The following properties are the same with `DatePicker`: `disabled` `style` `popupStyle` `size` `locale` `showTime` `onOk` `getCalendarContainer` diff --git a/components/date-picker/index.zh-CN.md b/components/date-picker/index.zh-CN.md index 8a46d015a1..25d83103eb 100644 --- a/components/date-picker/index.zh-CN.md +++ b/components/date-picker/index.zh-CN.md @@ -43,7 +43,7 @@ moment.tz.setDefault('Asia/Shanghai') | open | 控制弹层是否展开 | bool | - | | onOpenChange | 弹出日历和关闭日历的回调 | function(status) | 无 | | getCalendarContainer | 定义浮层的容器,默认为 body 上新建 div | function(trigger) | 无 | -| showTime | 增加时间选择功能 | Object or Boolean | [TimePicker Options](http://ant.design/components/time-picker/#api) | +| showTime | 增加时间选择功能 | Object or Boolean | [TimePicker Options](/components/time-picker/#api) | ### MonthPicker @@ -69,7 +69,7 @@ moment.tz.setDefault('Asia/Shanghai') | defaultValue | 默认日期 | [moment, moment] | 无 | | format | 展示的日期格式 | string | "YYYY-MM-DD HH:mm:ss" | | onChange | 时间发生变化的回调,发生在用户选择时间时 | function(dates: [moment, moment], dateStrings: [string, string]) | 无 | -| showTime | 增加时间选择功能 | Object or Boolean | [TimePicker Options](http://ant.design/components/time-picker/#api) | +| showTime | 增加时间选择功能 | Object or Boolean | [TimePicker Options](/components/time-picker/#api) | `disabled` `style` `popupStyle` `size` `locale` `showTime` `onOk` `getCalendarContainer` 属性与 DatePicker 的一致。 diff --git a/components/table/Table.tsx b/components/table/Table.tsx index 264ecfbe33..2c80270917 100644 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -143,7 +143,7 @@ export default class Table extends React.Component { warning( !('columnsPageRange' in props || 'columnsPageSize' in props), '`columnsPageRange` and `columnsPageSize` are removed, please use ' + - '[fixed columns](http://ant.design/components/table/#components-table-demo-fixed-columns) ' + + '[fixed columns](/components/table/#components-table-demo-fixed-columns) ' + 'instead.' );