40f23ca0 by yangwei

办公电话格式校验

1 parent 803746f1
......@@ -96,7 +96,7 @@ export default {
],
telephone: [
{
pattern: /^((d{3,4})|d{3,4}-|s)?d{7,14}$/,
pattern: /\d{3}-\d{8}|\d{4}-\d{7}/,
message: "办公电话格式有误",
trigger: "blur",
},
......