Commit 6ef1816a by 张杰

修复提示语

1 parent eec53fda
......@@ -149,10 +149,14 @@ export default {
arr.forEach((k, i) => {
if (!reg.test(k)) {
console.log(`${k}----${i}`);
cb(new Error("请输入正确的格式(手机号,手机号)"));
cb(new Error("请输入正确的手机号"));
return false;
}
});
if (arr[0] == arr[1]) {
cb(new Error("存在重复的手机号"));
return false;
}
cb();
};
return {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!