Merge pull request #1076 from Leopoldthecoder/switch-width

Switch: fix a 'width' attribute init bug
pull/1099/head
baiyaaaaa 2016-11-16 10:49:32 +08:00 committed by GitHub
commit ddd4481eb0
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@
return { return {
currentValue: this.value, currentValue: this.value,
coreWidth: this.width, coreWidth: this.width,
buttonStyle: {} buttonStyle: {
transform: ''
}
}; };
}, },
computed: { computed: {