4 回答


李行知
TA贡献51条经验 获得超12个赞
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <script> var age=prompt('请输入') if(age>18){ alert('>') }else{ alert('<') } </script> </body> </html>
并没有出现这种问题,初步推测是因为浏览器原因,可能是你关闭了弹窗,自己百度下怎么开启吧
添加回答
举报
0/150
提交
取消