diff --git a/ruoyi-admin/src/main/resources/templates/system/user/edit.html b/ruoyi-admin/src/main/resources/templates/system/user/edit.html index 77bf299..916d2b6 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/edit.html @@ -307,10 +307,10 @@ function submitHandler() { if ($.validate.form()) { var data = $("#form-user-edit").serializeArray(); - var status = $("input[id='status']").is(':checked') == true ? 0 : 1; + /*var status = $("input[id='status']").is(':checked') == true ? 0 : 1;*/ var roleIds = $.form.selectCheckeds("role"); var postIds = $.form.selectSelects("post"); - data.push({"name": "status", "value": status}); + /*data.push({"name": "status", "value": status});*/ data.push({"name": "roleIds", "value": roleIds}); data.push({"name": "postIds", "value": postIds}); $.operate.saveTab(prefix + "/edit", data);