Skip to content

Commit 184aaf3

Browse files
authoredDec 3, 2023
Update index.html
1 parent 0ca4a8d commit 184aaf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cn/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ <h4>膳食摄入量:</h4>
434434

435435
function getResult() {
436436
const ageInput = parseFloat(document.getElementById('RIDAGEYR').value);
437-
if (isNaN(ageInput) || ageInput < 0 || ageInput > 60) {
438-
document.getElementById('ageError').innerText = "必须在0到60之间。";
437+
if (isNaN(ageInput) || ageInput < 0 || ageInput > 100) {
438+
document.getElementById('ageError').innerText = "必须在0到100之间。";
439439
return;
440440
} else {
441441
document.getElementById('ageError').innerText = "";

0 commit comments

Comments
 (0)
Please sign in to comment.