diff --git a/packages/dialog/src/useDialog.ts b/packages/dialog/src/useDialog.ts index d75cb3713f..a4feaf87f2 100644 --- a/packages/dialog/src/useDialog.ts +++ b/packages/dialog/src/useDialog.ts @@ -6,8 +6,7 @@ import PopupManager from '@element-plus/utils/popup-manager' import { clearTimer, isNumber } from '@element-plus/utils/util' import { useLockScreen, useRestoreActive, useModal } from '@element-plus/hooks' -import type { Ref, CSSProperties } from 'vue' -import type { SetupContext } from '@vue/runtime-core' +import type { Ref, CSSProperties, SetupContext } from 'vue' import type { UseDialogProps } from './dialog' export const CLOSE_EVENT = 'close' diff --git a/packages/table/src/store/helper.ts b/packages/table/src/store/helper.ts index 0d6c3372af..2fdd6d0612 100644 --- a/packages/table/src/store/helper.ts +++ b/packages/table/src/store/helper.ts @@ -2,7 +2,7 @@ import useStore, { Store } from './index' import debounce from 'lodash/debounce' import { Table } from '../table/defaults' import { TableProps } from '../table/defaults' -import { watch } from '@vue/runtime-core' +import { watch } from 'vue' const InitialStateMap = { rowKey: 'rowKey', diff --git a/packages/table/src/table-column/defaults.ts b/packages/table/src/table-column/defaults.ts index a9510a7935..0a4b1300a8 100644 --- a/packages/table/src/table-column/defaults.ts +++ b/packages/table/src/table-column/defaults.ts @@ -1,7 +1,6 @@ import { PropType } from 'vue' import { DefaultRow } from '../table/defaults' -import { VNode } from '@vue/runtime-core' -import { ComponentInternalInstance, Ref } from 'vue' +import { ComponentInternalInstance, Ref, VNode } from 'vue' import { Table } from '../table/defaults' type CI = { column: TableColumnCtx; $index: number; }