Skip to content

Commit

Permalink
之前日历组件中 lodash 的引入会全量引入,优化一下。 (#2082)
Browse files Browse the repository at this point in the history
* feat(component): 日历组件支持多个高亮单元格

* chore: 根据最新的api配置更新日历组件相关配置文件

* chore: 补齐单测

* chore: 优化日历单元测试

* chore: 修改日历组件中lodash引入(按需引入)
  • Loading branch information
PsTiu authored Nov 29, 2022
1 parent ba75be4 commit d22f134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calendar/calendar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineComponent, computed, watch } from 'vue';
// 通用库
import dayjs from 'dayjs';
import { remove } from 'lodash';
import remove from 'lodash/remove';

import props from './props';
import * as utils from './utils';
Expand Down

0 comments on commit d22f134

Please sign in to comment.