js判断 jsif判断多个条件 前端js判断字符串是否包含1或2?var str=“你好1”如果(结构索引("1") !==-1){警报(“exist”)}var str=“hello 2”如果(结构... 2021-03-13 3010次浏览