mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
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.
This commit is contained in:
parent
2e1c329a42
commit
4fe040d928
@ -58,7 +58,7 @@
|
||||
},
|
||||
width: {
|
||||
type: Number,
|
||||
default: 0
|
||||
default: 40
|
||||
},
|
||||
activeIconClass: {
|
||||
type: String,
|
||||
|
Loading…
Reference in New Issue
Block a user