Commit f8140133 authored by zhangyichen's avatar zhangyichen

修改bug 56406 用户管理,身份证号限制不正确

parent 98fe9a34
...@@ -389,7 +389,7 @@ export default { ...@@ -389,7 +389,7 @@ export default {
if (value === '' || value === null || value === undefined) { if (value === '' || value === null || value === undefined) {
callback() callback()
} else { } else {
const stuCardReg = /^[0-9]{18}/; const stuCardReg = /^[0-9]{17}[0-9,X,x]{1}/;
if (stuCardReg.test(value)) { if (stuCardReg.test(value)) {
callback() callback()
} else { } else {
......
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