Selaa lähdekoodia

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

gcii 5 vuotta sitten
vanhempi
commit
fbe8e6997e
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  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>