mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
Update style.md
缺少“from”
This commit is contained in:
parent
a188e963f6
commit
ba4a7da76a
@ -442,7 +442,7 @@ export default Breadcrumbs;
|
||||
|
||||
```javascript
|
||||
// bad
|
||||
import * as myObject './importModule';
|
||||
import * as myObject from './importModule';
|
||||
|
||||
// good
|
||||
import myObject from './importModule';
|
||||
|
Loading…
x
Reference in New Issue
Block a user