fix(date-picker): import path (#2992)

pull/2996/head
John60676 2020-10-15 12:33:51 +08:00 committed by GitHub
parent b331753d31
commit 147845b55f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)) || '';

View File

@ -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 =