瀏覽代碼

feat: 更新switch的全局样式

lanjianrong 4 年之前
父節點
當前提交
824a8b0f05
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/global.less

+ 3 - 1
src/global.less

@@ -50,7 +50,9 @@ body,
 .ant-menu-inline .ant-menu-submenu-title {
   margin-bottom: 0;
 }
-
+.ant-switch-checked {
+  background: @primary-color;
+}
 // 修复proTable中的列设置,tree list hover效果异常
 .ant-pro-table-column-setting-list > .ant-tree .ant-tree-node-content-wrapper:hover {
   background-color: unset;