You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ListField.php文件中,
`var index = {$number};
$('.{$this->column}-add').on('click', function () {
var tpl = $('template.{$this->column}-tpl').html().replace('{key}', index);
$('tbody.list-{$this->column}-table').append(tpl);
index++;
});
$('tbody').on('click', '.{$this->column}-remove', function () {
$(this).closest('tr').remove();
});`
Description:
两张表marketing和marketing_vote(该表中有form字段,类型为json),
表单中$form->list('marketing_vote.form'); 这样时该组件js失效,无法添加行、删除行。
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: