layui 获取下拉框的值
form.on('select(category)', function(data){
category = data.value;
categoryName = data.elem[data.elem.selectedIndex].text
form.render('select')
});
form.on('select(category)', function(data){
category = data.value;
categoryName = data.elem[data.elem.selectedIndex].text
form.render('select')
});