From 22734ac477dd95e9cc138a6d8f7750ac2d6782b4 Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 17 Jul 2018 10:46:55 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E7=B2=89?= =?UTF-8?q?=E4=B8=9D=E6=A0=87=E7=AD=BE=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/view/fans/tags_inc.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/application/wechat/view/fans/tags_inc.html b/application/wechat/view/fans/tags_inc.html index 85dab465e..60e22e538 100644 --- a/application/wechat/view/fans/tags_inc.html +++ b/application/wechat/view/fans/tags_inc.html @@ -66,15 +66,17 @@ $content.on('click', 'input', function () { ($content.find('input:checked').size() > 3) && (this.checked = false); }); - // 标签选择面板 - $(this).data('content', $content).on('shown.bs.popover', function () { - $('[data-add-tag]').not(this).popover('hide'); - }).popover({ - html: true, - trigger: 'click', - content: $content, - title: '标签编辑(最多选择三个标签)', - template: '' - }); + require(['bootstrap'], function () { + // 标签选择面板 + $(this).data('content', $content).on('shown.bs.popover', function () { + $('[data-add-tag]').not(this).popover('hide'); + }).popover({ + html: true, + trigger: 'click', + content: $content, + title: '标签编辑(最多选择三个标签)', + template: '' + }); + }) }); \ No newline at end of file