提交 0a8f1404 编写于 作者: doc_wei's avatar doc_wei

添加邮编校验

上级 f4034696
...@@ -122,6 +122,10 @@ ...@@ -122,6 +122,10 @@
/^[0-9]+(.[0-9]{1,2})?$/ /^[0-9]+(.[0-9]{1,2})?$/
, '请输入正确正数,小数点后最多两位' , '请输入正确正数,小数点后最多两位'
] ]
, postcode: [
/^\d{6}$/
, '请输入正确邮编'
]
}; //表单验证 }; //表单验证
this.tile = tile; this.tile = tile;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册