diff --git a/src/views/DZP.vue b/src/views/DZP.vue index ed7366f..cc4e0a8 100644 --- a/src/views/DZP.vue +++ b/src/views/DZP.vue @@ -55,7 +55,7 @@ function startCallback() { // 调用stop停止旋转并传递中奖索引 myLucky.value.stop(customOrder.value[index]) //更新指针(循环) - orderIndex = (index + 1) + orderIndex = (index + 1) % customOrder.value.length; }, 3000) } const scoreAnimation = ref(false)