diff --git a/config/plugin.config.ts b/config/plugin.config.ts index deebcbe56e58513f1b1ecb7621958c8f58817e98..806c344d4187987bcbcc0d5eae0a91e05a6ee7f1 100644 --- a/config/plugin.config.ts +++ b/config/plugin.config.ts @@ -46,7 +46,7 @@ export default (config: any) => { fileName: 'css/theme-colors.css', matchColors: getAntdSerials('#1890ff'), // 主色系列 // 改变样式选择器,解决样式覆盖问题 - changeSelector(selector: string) { + changeSelector(selector: string): string { switch (selector) { case '.ant-calendar-today .ant-calendar-date': return ':not(.ant-calendar-selected-date)' + selector;