diff --git a/src/packages/vue-qr.vue b/src/packages/vue-qr.vue index f3dd0d5..f4a498a 100644 --- a/src/packages/vue-qr.vue +++ b/src/packages/vue-qr.vue @@ -106,21 +106,23 @@ export default { default: "#FFFFFF" }, components: { - default: { - data: { - scale: 0.4 - }, - timing: { - scale: 0.5, - protectors: false - }, - alignment: { - scale: 0.5, - protectors: false - }, - cornerAlignment: { - scale: 1, - protectors: true + default: function(){ + return { + data: { + scale: 0.4 + }, + timing: { + scale: 0.5, + protectors: false + }, + alignment: { + scale: 0.5, + protectors: false + }, + cornerAlignment: { + scale: 1, + protectors: true + } } } }