mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
edit app.css
This commit is contained in:
parent
7613391339
commit
1f9a9f4177
@ -104,7 +104,7 @@ body {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
font-size: 0.8rem;
|
||||
line-height:1.6rem;
|
||||
line-height:1.3rem;
|
||||
|
||||
/* border: 1px solid black; */
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ Promise.all(promises).then(function(posts) {
|
||||
|
||||
```
|
||||
|
||||
## Promise.resolve方法:生成新的Promise对象
|
||||
## Promise.resolve方法
|
||||
|
||||
有时需要将现有对象转为Promise对象,Promise.resolve方法就起到这个作用。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user