if (options.indexOf(7)!=-1) {

do…

}
indexOf是字符串方法,自己写的是数字,自然不支持,不报错才奇怪呢。
options.indexOf(‘7’)

作者 admin

百度广告效果展示