Kaynağa Gözat

feat: 更新switch的全局样式

lanjianrong 4 yıl önce
ebeveyn
işleme
824a8b0f05
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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;