Browse Source

chore: replace http with https, close: #6893

pull/7039/head
Benjy Cui 7 years ago
parent
commit
119d498935
  1. 2
      components/breadcrumb/Breadcrumb.tsx
  2. 2
      components/calendar/index.tsx
  3. 2
      components/date-picker/RangePicker.tsx
  4. 2
      components/date-picker/createPicker.tsx
  5. 2
      components/date-picker/wrapPicker.tsx
  6. 2
      components/form/Form.tsx
  7. 2
      components/menu/index.tsx
  8. 2
      components/popover/index.tsx
  9. 4
      components/table/Table.tsx
  10. 2
      components/time-picker/index.tsx

2
components/breadcrumb/Breadcrumb.tsx

@ -57,7 +57,7 @@ export default class Breadcrumb extends React.Component<BreadcrumbProps, any> {
warning(
!('linkRender' in props || 'nameRender' in props),
'`linkRender` and `nameRender` are removed, please use `itemRender` instead, ' +
'see: http://u.ant.design/item-render.',
'see: https://u.ant.design/item-render.',
);
}

2
components/calendar/index.tsx

@ -87,7 +87,7 @@ export default class Calendar extends React.Component<CalendarProps, CalendarSta
if (!moment.isMoment(value)) {
throw new Error(
'The value/defaultValue of Calendar must be a moment object after `antd@2.0`, ' +
'see: http://u.ant.design/calendar-value',
'see: https://u.ant.design/calendar-value',
);
}
this.state = {

2
components/date-picker/RangePicker.tsx

@ -57,7 +57,7 @@ export default class RangePicker extends React.Component<any, any> {
) {
throw new Error(
'The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, ' +
'see: http://u.ant.design/date-picker-value',
'see: https://u.ant.design/date-picker-value',
);
}
const pickerValue = !value || isEmptyArray(value) ? props.defaultPickerValue : value;

2
components/date-picker/createPicker.tsx

@ -32,7 +32,7 @@ export default function createPicker(TheCalendar): any {
if (value && !moment.isMoment(value)) {
throw new Error(
'The value/defaultValue of DatePicker or MonthPicker must be ' +
'a moment object after `antd@2.0`, see: http://u.ant.design/date-picker-value',
'a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value',
);
}
this.state = {

2
components/date-picker/wrapPicker.tsx

@ -53,7 +53,7 @@ export default function wrapPicker(Picker, defaultFormat?: string): any {
warning(
false,
'`toggleOpen` is deprecated and will be removed in the future, ' +
'please use `onOpenChange` instead, see: http://u.ant.design/date-picker-on-open-change',
'please use `onOpenChange` instead, see: https://u.ant.design/date-picker-on-open-change',
);
toggleOpen({ open });
}

2
components/form/Form.tsx

@ -164,7 +164,7 @@ export default class Form extends React.Component<FormProps, any> {
warning(
false,
'`getFieldProps` is not recommended, please use `getFieldDecorator` instead, ' +
'see: http://u.ant.design/get-field-decorator',
'see: https://u.ant.design/get-field-decorator',
);
return this.__getFieldProps(name, option);
},

2
components/menu/index.tsx

@ -69,7 +69,7 @@ export default class Menu extends React.Component<MenuProps, any> {
warning(
!('onOpen' in props || 'onClose' in props),
'`onOpen` and `onClose` are removed, please use `onOpenChange` instead, ' +
'see: http://u.ant.design/menu-on-open-change.',
'see: https://u.ant.design/menu-on-open-change.',
);
warning(

2
components/popover/index.tsx

@ -32,7 +32,7 @@ export default class Popover extends React.Component<PopoverProps, any> {
warning(
!('overlay' in this.props),
'Popover[overlay] is removed, please use Popover[content] instead, ' +
'see: http://u.ant.design/popover-content',
'see: https://u.ant.design/popover-content',
);
return (
<div>

4
components/table/Table.tsx

@ -150,7 +150,7 @@ export default class Table<T> extends React.Component<TableProps<T>, any> {
warning(
!('columnsPageRange' in props || 'columnsPageSize' in props),
'`columnsPageRange` and `columnsPageSize` are removed, please use ' +
'fixed columns instead, see: http://u.ant.design/fixed-columns.',
'fixed columns instead, see: https://u.ant.design/fixed-columns.',
);
this.columns = props.columns || normalizeColumns(props.children);
@ -629,7 +629,7 @@ export default class Table<T> extends React.Component<TableProps<T>, any> {
rowKey(record, index) : record[rowKey as string];
warning(recordKey !== undefined,
'Each record in dataSource of table should have a unique `key` prop, or set `rowKey` to an unique primary key,' +
'see http://u.ant.design/table-row-key',
'see https://u.ant.design/table-row-key',
);
return recordKey === undefined ? index : recordKey;
}

2
components/time-picker/index.tsx

@ -63,7 +63,7 @@ abstract class TimePicker extends React.Component<TimePickerProps, any> {
if (value && !moment.isMoment(value)) {
throw new Error(
'The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, ' +
'see: http://u.ant.design/time-picker-value',
'see: https://u.ant.design/time-picker-value',
);
}
this.state = {

Loading…
Cancel
Save