This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user