浏览代码

添加用户时,用户名、手机号、邮箱唯一校验参数修正

dlnu_wqj 5 年之前
父节点
当前提交
ac9666db76
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ruoyi-admin/src/main/resources/templates/system/user/add.html

+ 3 - 3
ruoyi-admin/src/main/resources/templates/system/user/add.html

@@ -149,7 +149,7 @@
                         type: "post",
                         dataType: "json",
                         data: {
-                        	name : function() {
+                        	"loginName": function() {
                                 return $.common.trim($("#loginName").val());
                             }
                         },
@@ -169,7 +169,7 @@
                         type: "post",
                         dataType: "json",
                         data: {
-                            name: function () {
+                            "email": function () {
                                 return $.common.trim($("#email").val());
                             }
                         },
@@ -185,7 +185,7 @@
                         type: "post",
                         dataType: "json",
                         data: {
-                            name: function () {
+                            "phonenumber": function () {
                                 return $.common.trim($("#phonenumber").val());
                             }
                         },