From 05e13dc68b3db44868d9e02a10ccc330366a49c6 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期二, 08 八月 2023 11:58:36 +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