mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
改正文字错误
This commit is contained in:
parent
527bb244d9
commit
29c88ee19e
@ -72,9 +72,9 @@ var getJSON = function(url) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
getJSON("/posts.json").then(function(json) {
|
getJSON("/posts.json").then(function(json) {
|
||||||
console.log('Contents: ' + value);
|
console.log('Contents: ' + json);
|
||||||
}, function(error) {
|
}, function(error) {
|
||||||
console.error('出错了', reason);
|
console.error('出错了', error);
|
||||||
});
|
});
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user