vue2server7 7.0.55 → 7.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/test/2.txt
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
return columns.map((col: any, index: number) => {
|
|
3
|
-
if (index === 0) return '合计'
|
|
1
|
+
请根据以下 git diff 内容,生成符合 Conventional Commits 规范的 commit message:
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
要求:
|
|
4
|
+
1. 格式:type(scope): subject
|
|
5
|
+
2. type 必须从以下选择:
|
|
6
|
+
- feat: 新功能
|
|
7
|
+
- fix: 修复问题
|
|
8
|
+
- docs: 文档变更
|
|
9
|
+
- style: 代码格式(不影响功能)
|
|
10
|
+
- refactor: 重构(既不是新增功能也不是修复bug)
|
|
11
|
+
- perf: 性能优化
|
|
12
|
+
- test: 测试相关
|
|
13
|
+
- chore: 构建/依赖/工具
|
|
14
|
+
3. subject:
|
|
15
|
+
- 使用英文
|
|
16
|
+
- 小写开头
|
|
17
|
+
- 不超过 50 个字符
|
|
18
|
+
- 不加句号
|
|
19
|
+
4. 可选 body:
|
|
20
|
+
- 描述做了什么改动
|
|
21
|
+
- 每行不超过 72 字符
|
|
22
|
+
5. 根据修改内容自动判断 type 和 scope(如 user、auth、api、ui 等)
|
|
6
23
|
|
|
7
|
-
|
|
8
|
-
if (['price', 'amount'].includes(col.property)) {
|
|
9
|
-
return formatNumber(Number(value))
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
return value ?? ''
|
|
13
|
-
})
|
|
14
|
-
}
|
|
24
|
+
只输出 commit message,不要解释。
|
|
Binary file
|
|
Binary file
|