Skip to content

循环滑动时active出错 #23

@ithinco

Description

@ithinco
swiper.on('swiped', function(prev, current){
      if (prev == 3 && current == 3) {
      	swiper.go(0); // active 没有正确添加到 0 上,必须手动修改
      }

      if (prev == 0 && current == 0) {
      	swiper.go(3); // 正常
      }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions