Skip to content

Commit 0338127

Browse files
committed
Merge pull request jikeytang#18 from sabrinaluo/patch-1
fix: province does not match the city
2 parents 5f4e4c0 + 6ec7bb2 commit 0338127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e/14/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@
8888
function fill(obj, items){
8989
var opt = '';
9090
each(items, function(j){
91-
opt += '<option value="'+j+'">'+(items[j].replace(/\d+:/, ''))+'</option>';
91+
opt += '<option value="'+(j+1)+'">'+(items[j].replace(/\d+:/, ''))+'</option>';
9292
});
9393
obj.innerHTML = '<select>'+opt+'</select>';
9494
return obj;
9595
}
9696
}());
9797
</script>
9898
</body>
99-
</html>
99+
</html>

0 commit comments

Comments
 (0)