添加练习超时,重新挑战
This commit is contained in:
@@ -60,9 +60,17 @@ async function onReceiveMessage(messages = []) {
|
||||
}
|
||||
|
||||
async function onComplete() {
|
||||
// const result = await getHomeData();
|
||||
// if (result.user) updateUser(result.user);
|
||||
uni.navigateBack();
|
||||
if (
|
||||
practiseResult.value.arrows &&
|
||||
practiseResult.value.arrows.length === total
|
||||
) {
|
||||
uni.navigateBack();
|
||||
} else {
|
||||
practiseResult.value = {};
|
||||
start.value = false;
|
||||
scores.value = [];
|
||||
currentRound.value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user