使用bootstrap-select有时显示“Nothing selected”

.html()后加

$('#courseList').selectpicker('refresh');
$('#courseList').selectpicker('render');

  来源