mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix(components): [carousel] missing root ref (#10312)
This commit is contained in:
parent
48f837baf9
commit
93f2a1d950
@ -77,6 +77,7 @@ defineOptions({
|
||||
const props = defineProps(carouselProps)
|
||||
const emit = defineEmits(carouselEmits)
|
||||
const {
|
||||
root,
|
||||
activeIndex,
|
||||
arrowDisplay,
|
||||
hasLabel,
|
||||
|
@ -256,6 +256,7 @@ export const useCarousel = (
|
||||
})
|
||||
|
||||
return {
|
||||
root,
|
||||
activeIndex,
|
||||
arrowDisplay,
|
||||
hasLabel,
|
||||
|
Loading…
Reference in New Issue
Block a user