Skip to content

Commit

Permalink
fix: unnecessary code cause vue@2.4.2 warn(#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
win5do authored and Leopoldthecoder committed Jul 30, 2017
1 parent 61552ab commit 1e2eaaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/picker/src/picker.vue
Expand Up @@ -95,8 +95,7 @@
created() {
this.$on('slotValueChange', this.slotValueChange);
var slots = this.slots || [];
this.values = [];
var values = this.values;
var values = [];
var valueIndexCount = 0;
slots.forEach(slot => {
if (!slot.divider) {
Expand Down

0 comments on commit 1e2eaaa

Please sign in to comment.