Skip to content

Commit

Permalink
fix: change retry time to 500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
Horbin-Magician committed Apr 15, 2024
1 parent 700eb7a commit be2c6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front-end/src/pages/SecretPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}
} else {
try_num -= 1;
if(try_num > 0) setTimeout(initSecret, 50); // 如果没有获取成功,50毫秒后再次检查
if(try_num > 0) setTimeout(initSecret, 500); // 如果没有获取成功,50毫秒后再次检查
}
});
}
Expand Down

0 comments on commit be2c6fc

Please sign in to comment.