diff --git a/components/date-picker/WeekPicker.tsx b/components/date-picker/WeekPicker.tsx index f6a629a6d..505eee879 100644 --- a/components/date-picker/WeekPicker.tsx +++ b/components/date-picker/WeekPicker.tsx @@ -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)) || ''; diff --git a/components/date-picker/interface.ts b/components/date-picker/interface.ts index 08c12eb23..a29bc2ada 100644 --- a/components/date-picker/interface.ts +++ b/components/date-picker/interface.ts @@ -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 =