Element如何设置Switch打开关闭的背景色

时间:2024-10-12 01:58:15

1、打开一个vue文件,添加element框架下的Switch开关的组件。如图

Element如何设置Switch打开关闭的背景色

3、设置Switch开关默认值为打开状态。如图

Element如何设置Switch打开关闭的背景色Element如何设置Switch打开关闭的背景色
© 2025 五度知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com