fix: hot reload (#2077) (#2097)

Co-authored-by: yangyu8 <yangyu8@kingsoft.com>
This commit is contained in:
msidolphin 2021-05-31 14:06:25 +08:00 committed by GitHub
parent 26980e1a94
commit 6cde2408f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View File

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

View File

@ -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',

View File

@ -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<T> = { column: TableColumnCtx<T>; $index: number; }