mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-17 11:49:41 +08:00
fix(components): [collection] type error (#7940)
This commit is contained in:
parent
180a2b91e0
commit
20317b9c02
@ -4,7 +4,6 @@
|
||||
"packages/components/checkbox/",
|
||||
"packages/components/col/",
|
||||
"packages/components/collapse-transition/",
|
||||
"packages/components/collection/",
|
||||
"packages/components/color-picker/",
|
||||
"packages/components/date-picker/",
|
||||
"packages/components/descriptions/",
|
||||
|
@ -52,7 +52,7 @@ export const createCollectionWithScope = (name: string) => {
|
||||
const ElCollectionItem = {
|
||||
...CollectionItem,
|
||||
name: COLLECTION_ITEM_NAME,
|
||||
setup(_, { attrs }: SetupContext) {
|
||||
setup(_: unknown, { attrs }: SetupContext) {
|
||||
const collectionItemRef = ref<HTMLElement | null>(null)
|
||||
const collectionInjection = inject(COLLECTION_INJECTION_KEY, undefined)!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user