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:
@@ -400,8 +400,20 @@
|
||||
if (!res.errCode) {
|
||||
this.refundPopup(false);
|
||||
this.loadData(false);
|
||||
} else {
|
||||
// G2收尾:退款被云端拒绝时此前静默无反馈,补用户可见提示
|
||||
uni.showToast({
|
||||
title: (res && (res.errMsg || res.message)) || '退款失败',
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
}).catch(() => {});
|
||||
}).catch((err) => {
|
||||
// G2收尾:表单校验/网络异常此前空吞,补用户可见提示(退款未发起,不触达云端)
|
||||
uni.showToast({
|
||||
title: (err && (err.message || err.errMsg)) || '退款失败',
|
||||
icon: 'none'
|
||||
});
|
||||
});
|
||||
},
|
||||
sortChange(e, name) {
|
||||
this.orderByFieldName = name;
|
||||
|
||||
Reference in New Issue
Block a user