diff --git a/ruoyi-admin/src/main/resources/templates/system/user/user.html b/ruoyi-admin/src/main/resources/templates/system/user/user.html
index a682044a5..a59916ee7 100644
--- a/ruoyi-admin/src/main/resources/templates/system/user/user.html
+++ b/ruoyi-admin/src/main/resources/templates/system/user/user.html
@@ -54,7 +54,7 @@
搜索
- 重置
+ 重置
@@ -221,6 +221,15 @@
$('#btnRefresh').click(function() {
queryDeptTree();
});
+
+ /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+ function resetPre() {
+ $("#user-form")[0].reset();
+ $("#deptId").val("");
+ $("#parentId").val("");
+ $(".curSelectedNode").removeClass("curSelectedNode");
+ $.table.search();
+ }
/* 用户管理-部门 */
function dept() {