Browse Source

set length in options when version change

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
1baf3be25a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/components/Options.vue

+ 1
- 0
src/components/Options.vue View File

@@ -122,6 +122,7 @@
},
methods: {
setVersion(value){
this.options.length = value === 1 ? 12 : 16;
this.options.version = value;
this.$store.dispatch('saveVersion', {version: value});
}


Loading…
Cancel
Save