diff --git a/ruoyi-admin/src/main/resources/templates/system/role/add.html b/ruoyi-admin/src/main/resources/templates/system/role/add.html index 20dad50e..91942e6a 100644 --- a/ruoyi-admin/src/main/resources/templates/system/role/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/role/add.html @@ -87,8 +87,8 @@ type: "post", dataType: "json", data: { - "roleName" : function() { - return $.common.trim($("#roleName").val()); + "roleKey" : function() { + return $.common.trim($("#roleKey").val()); } }, dataFilter: function(data, type) {