Commit f1f70dbb authored by zhangyanni's avatar zhangyanni

去掉console

parent 4ff86831
......@@ -29,7 +29,6 @@ export default {
// var reg = /^1[3456789]\d{9}$/;
var reg = /^((13[0-9])|(14([0]|[5-9]))|(15([0-3]|[5-9]))|(16([2]|[5-7]))|(17[0-9])|(18[0-9])|(19([1]|[8,9])))\d{8}$/;
if (value === '') {
console.log(i18n.t("saleManage.placeholderPhone"))
callback(new Error(i18n.t("saleManage.placeholderPhone")));
} else if (!reg.test(value)) {
callback(new Error(i18n.t("saleManage.errorPhone")));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment