Skip to content

Commit c002304

Browse files
masongzhiziyoung
authored andcommitted
Calendar: import el-button and el-button-group (ElemeFE#17376)
1 parent de3c38f commit c002304

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/calendar/src/main.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
<script>
6060
import Locale from 'element-ui/src/mixins/locale';
6161
import fecha from 'element-ui/src/utils/date';
62+
import ElButton from 'element-ui/packages/button';
63+
import ElButtonGroup from 'element-ui/packages/button-group';
6264
import DateTable from './date-table';
6365
import { validateRangeInOneMonth } from 'element-ui/src/utils/date-util';
6466
@@ -72,7 +74,9 @@ export default {
7274
mixins: [Locale],
7375
7476
components: {
75-
DateTable
77+
DateTable,
78+
ElButton,
79+
ElButtonGroup
7680
},
7781
7882
props: {

packages/theme-chalk/src/calendar.scss

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@import "mixins/mixins";
22
@import "common/var";
3+
@import "button";
4+
@import "button-group";
35

46
@include b(calendar) {
57
background-color:#fff;

0 commit comments

Comments
 (0)