From 566c44cc5712ab9c997424ee5a5438e0a81a016e Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期三, 17 五月 2023 18:49:38 +0800 Subject: [PATCH] BUG修改 --- management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig_info.js | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig_info.js b/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig_info.js index e4906c5..5e83fa0 100644 --- a/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig_info.js +++ b/management/guns-admin/src/main/webapp/static/modular/system/tSystemConfig/tSystemConfig_info.js @@ -2,7 +2,20 @@ * 初始化详情对话框 */ var TSystemConfigInfoDlg = { - tSystemConfigInfoData : {} + tSystemConfigInfoData : {}, + validateFields: { + phone: { + validators: { + notEmpty: { + message: '联系电话不能为空' + }, + regexp: { + regexp: /^1[3-9]\d{9}$/, + message: '请输入合法手机号' + } + } + }, + } }; /** -- Gitblit v1.7.1