fix: 凭证识别
All checks were successful
构建并部署前端到测试环境 / deploy (push) Successful in 54s

This commit is contained in:
luo
2026-09-29 16:07:48 +08:00
parent f896cad34f
commit aec2a27a65
16 changed files with 374 additions and 219 deletions

View File

@@ -160,6 +160,11 @@
.filter(Boolean)
: []
const currentKeys = Array.from(voucherFileKeyMap.values())
const isEchoOfCurrentValue =
keys.length === currentKeys.length && keys.every((key, index) => key === currentKeys[index])
if (isEchoOfCurrentValue) return
voucherFileKeyMap.clear()
keys.slice(0, getMaxCount()).forEach((key, index) => {
voucherFileKeyMap.set(index + 1, key)