摘要: 产品说,需要把Switch组件选中时是**“红色”背景,不选中时是“蓝色”**背景。效果如下: 1.创建一个less文件 @import '~antd/es/style/variable.less'; .box{ .ant-table-cell:nth-child(8){ .ant-switch-c 阅读全文
posted @ 2022-11-01 15:37 郑叶叶 阅读(1402) 评论(0) 推荐(0) 编辑