循环播放的这是data部分data() { return { prizeList: [ { name: 0 }, { name: 1 }, { name: 2 }, { name: 3 }, { name: 4 } ] } }这是我目前的代码,只能循环切换,没有动画效果setInterval(async () => { let first = this.prizeList.splice(0, 1) this.prizeList.push(...first)}
添加回答
举报
0/150
提交
取消