fix(components): [carousel] missing root ref (#10312)

This commit is contained in:
zz 2022-10-30 16:27:44 +08:00 committed by GitHub
parent 48f837baf9
commit 93f2a1d950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,7 @@ defineOptions({
const props = defineProps(carouselProps)
const emit = defineEmits(carouselEmits)
const {
root,
activeIndex,
arrowDisplay,
hasLabel,

View File

@ -256,6 +256,7 @@ export const useCarousel = (
})
return {
root,
activeIndex,
arrowDisplay,
hasLabel,