Skip to content

Commit

Permalink
eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dwqs committed Dec 25, 2017
1 parent 772ba36 commit 7370ec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/area-cascader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
item['children'] = [{
label: item.label,
value: item.value
}]
}];
}
// item['children'] = this.iterate(AreaData[cities[i].children[j].value]);
}
Expand Down
6 changes: 3 additions & 3 deletions src/area-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
if (!/^\d+$/.test(String(val))) {
return;
}
this.curAreaCode = val;
this.curAreaCode = val;
if (this.level === 2) {
this.selectChange();
return;
Expand All @@ -172,7 +172,7 @@
if (!/^\d+$/.test(String(val))) {
return;
}
this.curStreetCode = val;
this.curStreetCode = val;
this.selectChange();
},
Expand All @@ -190,7 +190,7 @@
let city = '';
let area = '';
let street = '';
for (let i = 0, l = selected.length; i < l; i++) {
switch (i) {
case 0:
Expand Down

0 comments on commit 7370ec5

Please sign in to comment.