提交 a2f2d329 编写于 作者: 章鱼哥哟's avatar 章鱼哥哟

删除 pdmi.html

上级 365bb87d
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script>
var password=prompt("请设置您的密码");
// 判断密码的长度,如果不是6位,否则
if(password.length!=6){
alert("请输入6位的数字密码");
}else{
// 如果密码是非数字,否则是数字
if(isNaN(password)){
alert("密码必须要是数字");
}else{
alert("密码设置正确");
}
}
</script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册