feat(脏改动归属收尾): 门禁报告去时间戳/pay-order退款空吞补提示/门禁62-0-0
G1: scripts/data-contract-report.js + quality-check.js 删除 Generated 时间戳行
(时间戳保留在 gitignored 的 *.json generatedAt 备查;reports/*.md
此后跑门禁不再变脏,归属:门禁产物噪音)
G2: pay-order/list.vue confirmRefund 云端拒绝 errCode 分支 + 校验/网络
catch 分支均补 toast 用户可见提示(此前静默失败)
门禁: npm test 62 schemas/0 漂移/0 错误全绿;diff --check 按
core.whitespace=cr-at-eol 通过(仓库既有 CRLF 惯例,autocrlf=false)
This commit is contained in:
@@ -232,8 +232,8 @@ function buildReport() {
|
||||
const lines = [
|
||||
'# Data contract report',
|
||||
'',
|
||||
`Generated: ${report.generatedAt}`,
|
||||
'',
|
||||
// G1收尾:去掉 Generated 时间戳行 —— 每次跑门禁必变导致 reports/*.md 常脏;
|
||||
// 时间戳仍保留在 gitignored 的 data-contract-report.json(generatedAt)中备查
|
||||
`- Schemas: ${report.summary.schemaCount}`,
|
||||
`- Referenced collections: ${report.summary.collectionCount}`,
|
||||
`- Missing schemas: ${report.summary.missingSchemaCount}`,
|
||||
|
||||
@@ -196,8 +196,8 @@ function makeReport(findings, warnings, schemas) {
|
||||
const lines = [
|
||||
'# Quality report',
|
||||
'',
|
||||
`Generated: ${report.generatedAt}`,
|
||||
'',
|
||||
// G1收尾:去掉 Generated 时间戳行 —— 每次跑门禁必变导致 reports/*.md 常脏;
|
||||
// 时间戳仍保留在 gitignored 的 quality-report.json(generatedAt)中备查
|
||||
`- Status: **${report.summary.status}**`,
|
||||
`- Errors: ${report.summary.errors}`,
|
||||
`- Warnings: ${report.summary.warnings}`,
|
||||
|
||||
Reference in New Issue
Block a user