1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-29 05:42:20 +00:00

Merge pull request #767 from cutPicturesMan/patch-1

Update module.md
This commit is contained in:
Ruan YiFeng 2018-11-08 17:00:32 +08:00 committed by GitHub
commit 95b157e8e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -464,7 +464,7 @@ import _ from 'lodash';
如果想在一条`import`语句中,同时输入默认方法和其他接口,可以写成下面这样。
```javascript
import _, { each, each as forEach } from 'lodash';
import _, { each, forEach } from 'lodash';
```
对应上面代码的`export`语句如下。