fix(virtual-list): fix #2294 module resolve issue (#2316)

- Replace @element-plus with relative path to avoid bundling issue

fix #2294

Co-authored-by: jeremywuuuuu <jeremywuuuuu@no-reply.github.com>
This commit is contained in:
jeremywu 2021-06-24 09:45:47 +08:00 committed by GitHub
parent e9ea4b4ee2
commit 5d980505f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
import { computed, defineComponent, ref, reactive, onMounted, onBeforeUnmount, watch } from 'vue'
import { BAR_MAP } from '@element-plus/scrollbar/src/util'
import { on, off } from '@element-plus/utils/dom'
import { rAF, cAF } from '@element-plus/utils/raf'
import isServer from '@element-plus/utils/isServer'
import { DefaultScrollBarProps, ScrollbarSizeKey, ScrollbarDirKey, SCROLLBAR_MIN_SIZE } from '../defaults'
import { renderThumbStyle } from '../utils'
import { BAR_MAP } from '../../../scrollbar/src/util'
import type { CSSProperties } from 'vue'