[Bug Report] el-switch绑定空字符串时开关会是打开状态
Open
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Element UI version
2.15.13
### OS/Browsers version
win11/chrome最新版
### Vue version
2.6.14
### Reproduction Link
https://codepen.io/kakage/pen/ExORJxz
### Steps to reproduce
value为空字符串时就能复现
### What is Expected?
预期绑定空字符串时能开关关闭
### What is actually happening?
貌似是底层没有自动转布尔
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.