From f0b4d0e6bc47a18f4e10ca4c007dcaa01c9c9647 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期二, 16 五月 2023 15:10:35 +0800 Subject: [PATCH] BUG修改 --- management/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver_info.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver_info.js b/management/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver_info.js index 76187a7..c6869b1 100644 --- a/management/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver_info.js +++ b/management/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriver_info.js @@ -59,6 +59,10 @@ validators: { notEmpty: { message: '身份证号码不能为空' + }, + regexp: { + regexp: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/, + message: '请输入合法身份证号码' } } }, -- Gitblit v1.7.1