朱桂飞
2023-04-03 458962a2e4a4f6af0caa5fcb3867f2e42125fd40
1
2
3
4
5
6
7
8
9
export default function unsetGrabCursor() {
    const swiper = this;
    if (swiper.support.touch || swiper.params.watchOverflow && swiper.isLocked || swiper.params.cssMode) {
        return;
    }
    swiper[swiper.params.touchEventsTarget === 'container' ? '$el' : '$wrapperEl'].setCss({
        cursor: ''
    });
}