Commit 721bd203 authored by huanglu's avatar huanglu

docs: 完善文档

parent d9ca7f94
...@@ -64,9 +64,11 @@ ...@@ -64,9 +64,11 @@
- jsx?/tsx? 规范 - jsx?/tsx? 规范
- 所有的js文件,使用小驼峰命名规则(如果需要,如果遵循目录规范,情况不多) - 所有的js文件,使用小驼峰命名规则(如果需要,如果遵循目录规范,情况不多)
- 项目中判断等于,一律使用 全等(===),在判断字符串相等时,通过模板字符的方式判断 - 项目中判断等于,一律使用 全等(===),在判断字符串相等时,通过模板字符的方式判断
```javascript ```javascript
`${currentIndex}` === `${index}` `${currentIndex}` === `${index}`
``` ```
- 私有变量和方法,使用 `_` 标识 - 私有变量和方法,使用 `_` 标识
- 在html页面时,尽量使用语义化标签 - 在html页面时,尽量使用语义化标签
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment