From e908701dabbdfd11058c3b82dec2edae812bfb65 Mon Sep 17 00:00:00 2001 From: lizongwen <93700983@qq.com> Date: Tue, 8 Jan 2019 16:30:47 +0800 Subject: [PATCH] enter --- assets/js/backend/advanced.js | 5 ++++- views/advanced.html | 37 ++++++++++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/assets/js/backend/advanced.js b/assets/js/backend/advanced.js index db1bc70..a048296 100644 --- a/assets/js/backend/advanced.js +++ b/assets/js/backend/advanced.js @@ -2,7 +2,10 @@ define(['jquery', 'bootstrap', 'bootstrap-select', 'select2', 'select2-to-tree', var Controller = { index: function () { $('.selectpicker').each(function () { - $(this).selectpicker() + $(this).selectpicker({ + iconBase:'icon iconfont', + tickIcon:'icon-check1' + }) }); // $('#select2_id_1').each(function () { // $(this).select2({ diff --git a/views/advanced.html b/views/advanced.html index a6f4a5b..d1e789a 100644 --- a/views/advanced.html +++ b/views/advanced.html @@ -90,12 +90,47 @@

多选插件-bootstrap-select

- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +