li 标签点击添加active效果$("ul li").click(function() ... html ul.active,react使用原生js获取点击的ul下的第几个li_并设置className为active.
確定! 回上一頁