如何在一行中从另一个模块导出默认值?
export * from './another'; //Can't export default from another.
Run Code Online (Sandbox Code Playgroud)
export m from './another';
export default m; //That's ok.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1264 次 |
| 最近记录: |