Browse Source

添加用户页面岗位选择框提示

gcii 5 years ago
parent
commit
fbe8e6997e
1 changed files with 9 additions and 0 deletions
  1. 9 0
      ruoyi-admin/src/main/resources/templates/system/user/add.html

+ 9 - 0
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
+            });
+        })
+
     </script>
 </body>
 </html>