提交 6a66d752 编写于 作者: fxy060608's avatar fxy060608

fix(app-nvue): onScrollEnd => onScrollend

上级 34b1303b
......@@ -4052,7 +4052,7 @@ function useSwiperListeners(state, props2, swiperItems, trigger) {
dy: props2.vertical ? -state.swiperHeight * offsetRatio : 0
});
};
const onScrollEnd = (event) => {
const onScrollend = (event) => {
const end = () => {
trigger("animationfinish", getDetail());
state.currentChangeSource = "autoplay";
......@@ -4085,7 +4085,7 @@ function useSwiperListeners(state, props2, swiperItems, trigger) {
});
const listeners = {
onScroll,
onScrollEnd,
onScrollend,
onChange
};
return listeners;
......
......@@ -162,7 +162,7 @@ function useSwiperListeners(
})
}
const onScrollEnd = (event: CustomEvent) => {
const onScrollend = (event: CustomEvent) => {
const end = () => {
trigger('animationfinish', getDetail())
state.currentChangeSource = 'autoplay'
......@@ -206,7 +206,7 @@ function useSwiperListeners(
const listeners = {
onScroll,
onScrollEnd,
onScrollend,
onChange,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册