mirror of https://github.com/ElemeFE/element
Merge pull request #1076 from Leopoldthecoder/switch-width
Switch: fix a 'width' attribute init bugpull/1099/head
commit
ddd4481eb0
|
@ -81,7 +81,9 @@
|
||||||
return {
|
return {
|
||||||
currentValue: this.value,
|
currentValue: this.value,
|
||||||
coreWidth: this.width,
|
coreWidth: this.width,
|
||||||
buttonStyle: {}
|
buttonStyle: {
|
||||||
|
transform: ''
|
||||||
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
Loading…
Reference in New Issue