This commit is contained in:
Timi
2026-04-09 19:42:13 +08:00
parent 3773c37364
commit a89a2c9f79
5 changed files with 22 additions and 12 deletions

View File

@@ -66,3 +66,13 @@ NodeJS, NSIS, axios, pinia, Less, 微信小程序等现代程序知识
## 项目环境
开发环境使用 Windows不要使用其他系统指令操作项目
## 通用代码约束
- 所有文字、评论和文档均为中文
- 重复 API 调用必要时通过存储进行缓存或协调
- 不用繁重的计算阻塞主线程, 卸载或推迟
- 使用 tab 缩进,而不是空格
- 数值比较应该使用小于,即使常量在前变量在后
- 注释不需要标注类型,一句话注释不需要句号
- 布尔值注释直接说明使用 true 的效果,例如: true 为启用