Commit 4fe040d9 authored by xhd's avatar xhd Committed by 杨奕

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.
parent 2e1c329a
......@@ -58,7 +58,7 @@
},
width: {
type: Number,
default: 0
default: 40
},
activeIconClass: {
type: String,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment