纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

14 lines
243 B

function check(item, list) {
var index = -1
for (var i = 0; i < list.length; i++) {
if (parseInt(item.value) == parseInt(list[i].value)) {
index = i
break
}
}
return index >= 0
}
module.exports = {
check: check
}