Skip to content

Commit 8c4eb40

Browse files
committed
style: update vue dep
1 parent a679542 commit 8c4eb40

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

components/vc-picker/PickerTrigger.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CSSProperties } from '@vue/runtime-dom';
1+
import type { CSSProperties } from 'vue';
22
import type { AlignType } from '../vc-align/interface';
33
import Trigger from '../vc-trigger';
44
import classNames from '../_util/classNames';

components/vc-picker/panels/DatetimePanel/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { setDateTime as setTime } from '../../utils/timeUtil';
77
import type { PanelRefProps, DisabledTime } from '../../interface';
88
import KeyCode from '../../../_util/KeyCode';
99
import classNames from '../../../_util/classNames';
10-
import { ref } from '@vue/reactivity';
10+
import { ref } from 'vue';
1111
import useMergeProps from '../../hooks/useMergeProps';
1212

1313
export type DatetimePanelProps<DateType> = {

components/vc-picker/panels/TimePanel/TimeUnitColumn.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { scrollTo, waitElementReady } from '../../utils/uiUtil';
22
import { useInjectPanel } from '../../PanelContext';
33
import classNames from '../../../_util/classNames';
4-
import { ref } from '@vue/reactivity';
5-
import { onBeforeUnmount, watch } from '@vue/runtime-core';
6-
import { defineComponent, nextTick } from 'vue';
4+
import { ref, onBeforeUnmount, watch, defineComponent, nextTick } from 'vue';
75

86
export type Unit = {
97
label: any;

components/vc-picker/panels/TimePanel/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import TimeBody from './TimeBody';
44
import type { PanelSharedProps, DisabledTimes } from '../../interface';
55
import { createKeydownHandler } from '../../utils/uiUtil';
66
import classNames from '../../../_util/classNames';
7-
import { ref } from '@vue/reactivity';
7+
import { ref } from 'vue';
88
import useMergeProps from '../../hooks/useMergeProps';
99

1010
export type SharedTimeProps<DateType> = {

components/vc-util/Dom/scrollLocker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CSSProperties } from '@vue/runtime-dom';
1+
import type { CSSProperties } from 'vue';
22
import getScrollBarSize from '../../_util/getScrollBarSize';
33
import setStyle from '../../_util/setStyle';
44

0 commit comments

Comments
 (0)