mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改粉丝标签控制
This commit is contained in:
parent
4ec997ad2f
commit
22734ac477
@ -66,6 +66,7 @@
|
|||||||
$content.on('click', 'input', function () {
|
$content.on('click', 'input', function () {
|
||||||
($content.find('input:checked').size() > 3) && (this.checked = false);
|
($content.find('input:checked').size() > 3) && (this.checked = false);
|
||||||
});
|
});
|
||||||
|
require(['bootstrap'], function () {
|
||||||
// 标签选择面板
|
// 标签选择面板
|
||||||
$(this).data('content', $content).on('shown.bs.popover', function () {
|
$(this).data('content', $content).on('shown.bs.popover', function () {
|
||||||
$('[data-add-tag]').not(this).popover('hide');
|
$('[data-add-tag]').not(this).popover('hide');
|
||||||
@ -76,5 +77,6 @@
|
|||||||
title: '标签编辑(最多选择三个标签)',
|
title: '标签编辑(最多选择三个标签)',
|
||||||
template: '<div class="popover" style="max-width:500px" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content" style="width:500px"></div></div>'
|
template: '<div class="popover" style="max-width:500px" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content" style="width:500px"></div></div>'
|
||||||
});
|
});
|
||||||
|
})
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
Loading…
x
Reference in New Issue
Block a user