Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
285858315 committed Sep 28, 2015
1 parent f67b962 commit f1af989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function _check(){
}
}
for(var i in this.data){
if(!this.data[i]){
if(typeof this.data[i] == "undefined"){
res_key = 1;
console.log(i+"未知");
break;
Expand All @@ -35,4 +35,4 @@ module.exports = {
file:"",
data:{},
check:_check
}
}

0 comments on commit f1af989

Please sign in to comment.