mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update select.html
This commit is contained in:
parent
2e4bb13cf1
commit
21b3b903cf
@ -57,7 +57,7 @@
|
|||||||
$(this).removeClass('active');
|
$(this).removeClass('active');
|
||||||
});
|
});
|
||||||
// 外部选择器
|
// 外部选择器
|
||||||
var seletor = '[name="{$Think.get.field|decode|default=0}"]';
|
var seletor = '[name="{:decode(input("get.field","0"))}"]';
|
||||||
if (seletor) {
|
if (seletor) {
|
||||||
$('[data-news-id]').on('click', function () {
|
$('[data-news-id]').on('click', function () {
|
||||||
window.top.$(seletor).val($(this).attr('data-news-id')).trigger('change');
|
window.top.$(seletor).val($(this).attr('data-news-id')).trigger('change');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user