Skip to content

Commit

Permalink
Merge pull request #100 from Izayawww/master
Browse files Browse the repository at this point in the history
bugfix: components default value
  • Loading branch information
Binaryify authored Oct 13, 2021
2 parents 399eb79 + d7f324c commit b20005a
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions src/packages/vue-qr.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
}
Expand Down

0 comments on commit b20005a

Please sign in to comment.