需要render 一下,重新渲染
$("#add").click(function() {
$("#aaa").append(tr);
form.render('select')
})
https://www.layui.com/doc/modules/form.html
需要render 一下,重新渲染
$("#add").click(function() {
$("#aaa").append(tr);
form.render('select')
})
https://www.layui.com/doc/modules/form.html