diff --git a/ruoyi-admin/src/main/resources/templates/system/user/add.html b/ruoyi-admin/src/main/resources/templates/system/user/add.html index 59033a17..e44faeea 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/add.html @@ -247,6 +247,15 @@ layer.close(index); } } + + jQuery(document).ready(function() { + $('#post').select2({ + placeholder:"请选择岗位", + width: 'auto', + allowClear: true + }); + }) +