layUI select下拉框动态赋值和设置选中值
作者:野牛程序员:2024-05-11 06:30:53网页设计阅读 2945
layUI select下拉框动态赋值和设置选中值
var categorySelect = document.getElementById('category_id'); console.log("results.categories",results.categories) buildCategoryOptions(results.categories, null, categorySelect); layui.form.render("select");
野牛程序员教少儿编程与信息学奥赛-微信|电话:15892516892