fix(date-picker): import path (#2992)
parent
b331753d31
commit
147845b55f
|
@ -11,7 +11,7 @@ import { WeekPickerProps } from './interface';
|
|||
import interopDefault from '../_util/interopDefault';
|
||||
import InputIcon from './InputIcon';
|
||||
import { getDataAndAriaProps } from '../_util/util';
|
||||
import initDefaultProps from 'components/_util/props-util/initDefaultProps';
|
||||
import initDefaultProps from '../_util/props-util/initDefaultProps';
|
||||
|
||||
function formatValue(value: moment.Moment | null, format: string): string {
|
||||
return (value && value.format(format)) || '';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// import { TimePickerProps } from '../time-picker'
|
||||
import PropTypes, { withUndefined } from '../_util/vue-types';
|
||||
import { tuple } from 'components/_util/type';
|
||||
import { tuple } from '../_util/type';
|
||||
import { PropType } from 'vue';
|
||||
export type PickerValue = moment.Moment | undefined | null | string;
|
||||
export type RangePickerValue =
|
||||
|
|
Loading…
Reference in New Issue