We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ca4a8d commit 184aaf3Copy full SHA for 184aaf3
cn/index.html
@@ -434,8 +434,8 @@ <h4>膳食摄入量:</h4>
434
435
function getResult() {
436
const ageInput = parseFloat(document.getElementById('RIDAGEYR').value);
437
- if (isNaN(ageInput) || ageInput < 0 || ageInput > 60) {
438
- document.getElementById('ageError').innerText = "必须在0到60之间。";
+ if (isNaN(ageInput) || ageInput < 0 || ageInput > 100) {
+ document.getElementById('ageError').innerText = "必须在0到100之间。";
439
return;
440
} else {
441
document.getElementById('ageError').innerText = "";
0 commit comments