Skip to content

Commit 4ae412e

Browse files
committed
fix(tracking): error in location normalization
1 parent 6a63718 commit 4ae412e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/QrcodeReader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export default {
283283
const joinObjects = (objA, objB) => ({ ...objA, ...objB })
284284
285285
return Object.entries(location)
286-
.map(([ key, val ]) => [ key, normalizeEntry(val) ])
286+
.map(([ key, val ]) => ({ [key]: normalizeEntry(val) }))
287287
.reduce(joinObjects, {})
288288
}
289289
},

0 commit comments

Comments
 (0)