mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-27 20:32:21 +00:00
Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages
This commit is contained in:
commit
7a151448f7
@ -464,7 +464,7 @@ import _ from 'lodash';
|
||||
如果想在一条`import`语句中,同时输入默认方法和其他接口,可以写成下面这样。
|
||||
|
||||
```javascript
|
||||
import _, { each, each as forEach } from 'lodash';
|
||||
import _, { each, forEach } from 'lodash';
|
||||
```
|
||||
|
||||
对应上面代码的`export`语句如下。
|
||||
|
Loading…
x
Reference in New Issue
Block a user