解决方法:

需要将attr换成prop

if(designis_lunbo){
$("#lunboture").prop('selected', 'true');
}else{
$("#lunbofalse").prop('selected', 'true');
}

posted on 2018-11-17 14:04  limonyun  阅读(183)  评论(0编辑  收藏  举报