Commit e7f3d18a by 前端

修改轮播切换为循环播放

1 parent 4524fdf5
......@@ -105,6 +105,7 @@ export default {
prevClick() {
let index = this.current
if (index == 0) {
this.current = 3;
return false
}
this.current = index - 1
......@@ -114,6 +115,7 @@ export default {
nextClick() {
let index = this.current
if (index == 3) {
this.current = 1;
return false
}
this.current = index + 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!