huangzheng 6 years ago
parent
commit
5c558eb8af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/plugin.config.ts

+ 1 - 1
config/plugin.config.ts

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