From fa7f58882321157516af32f6eaf98c2b1fb74c17 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期三, 01 一月 2025 15:39:01 +0800 Subject: [PATCH] 管理后台 --- ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js index 967e57a..b6cc9a7 100644 --- a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js +++ b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tDriver/yesDriver_info.js @@ -73,9 +73,6 @@ }, rePassword: { validators: { - notEmpty: { - message: '密码不能为空' - }, regexp:{ regexp: /^.{6,18}$/, message: '密码长度为6-18' @@ -284,6 +281,13 @@ if(!this.validate()){ return ; } + + // 判断密码 + if ($('#rePassword').val() == "" || $('#rePassword').val() == null){ + Feng.info("密码不能为空"); + return; + } + // 遍历this.tCarInfoData 如果有值为空字符串或者是undefined 将这个字段剔除 for (var key in this.yesDriverInfoData) { if (this.yesDriverInfoData[key] == "" || this.yesDriverInfoData[key] == undefined) { -- Gitblit v1.7.1