修复业务模块bug
This commit is contained in:
@@ -171,7 +171,7 @@ export const nonNegativeRule = label => ({
|
||||
});
|
||||
|
||||
export const phoneRule = label => ({
|
||||
pattern: /^(1\d{10}|0\d{2,3}-?\d{7,8})$/,
|
||||
pattern: /^1[3-9]\d{9}$/,
|
||||
message: `${label}格式不正确`,
|
||||
trigger: 'blur',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user