Skip to content

Commit e8e9d8f

Browse files
committed
Add missing code comment
1 parent 6af1e6e commit e8e9d8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README_zhCn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,11 @@ let api = {
405405
};
406406

407407
export default api;
408+
409+
/*
410+
* 与以下的语句是对等的:
411+
* export { api as default };
412+
*/
408413
```
409414

410415
> **最佳实践**:总是在模块的 **最后** 使用 `export default` 方法。

0 commit comments

Comments
 (0)