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

添加邮编校验

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