js 多if情况下在优化。 var add_level={'5':1,'10':2,'12':3,'15':4}[add_step] || 0; Other 2023-05-17 157 点赞 2 评论 237 浏览