Commit 1b577922e752c02fe7c033c53be37ef81e4e9b8e

Authored by 无木
1 parent 3ba8a676

fix: fixed basicButton primary style

修正BasicButton primary类型的样式
Showing 1 changed file with 4 additions and 0 deletions
build/vite/plugin/theme.ts
... ... @@ -35,6 +35,10 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
35 35 return s;
36 36 case '.ant-select-item-option-selected:not(.ant-select-item-option-disabled)':
37 37 return s;
  38 + case '.ant-btn-primary':
  39 + case '.ant-btn:hover':
  40 + case '.ant-btn-primary:hover':
  41 + return s;
38 42 }
39 43 return s.startsWith('[data-theme') ? s : `[data-theme] ${s}`;
40 44 },
... ...