From f713159e287286059151c5d587e22f4787cf24bc Mon Sep 17 00:00:00 2001 From: gcii <3440626@qq.com> Date: Tue, 9 Jul 2019 17:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B2=97=E4=BD=8D=E9=80=89=E6=8B=A9=E6=A1=86=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/system/user/add.html | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + }); + }) +