mirror of https://github.com/ElemeFE/element
Switch: fix switch blinking in ssr (#10484)
* fixed #3800 https://github.com/ElemeFE/element/issues/3800 fixed * Switch:fix switch will blink when render in server beause its default width is 0.pull/10464/merge
parent
2e1c329a42
commit
4fe040d928
|
@ -58,7 +58,7 @@
|
||||||
},
|
},
|
||||||
width: {
|
width: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 0
|
default: 40
|
||||||
},
|
},
|
||||||
activeIconClass: {
|
activeIconClass: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|
Loading…
Reference in New Issue