mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 20:58:22 +08:00
fix(components): prevent carousel from auto playing (#14553)
prevent carousel from auto playing closed #14524
This commit is contained in:
parent
0e9cadeeed
commit
cea19ac161
@ -212,7 +212,7 @@ export const useCarousel = (
|
|||||||
|
|
||||||
function resetTimer() {
|
function resetTimer() {
|
||||||
pauseTimer()
|
pauseTimer()
|
||||||
startTimer()
|
if (!props.pauseOnHover) startTimer()
|
||||||
}
|
}
|
||||||
|
|
||||||
function setContainerHeight(height: number) {
|
function setContainerHeight(height: number) {
|
||||||
|
Loading…
Reference in New Issue
Block a user