refactor: reorganize all components (#8303)

This commit is contained in:
neverland
2021-03-08 11:50:37 +08:00
committed by GitHub
parent 3144a63d2b
commit e540876398
193 changed files with 1307 additions and 400 deletions
+2 -2
View File
@@ -122,7 +122,7 @@
<script lang="ts">
import { reactive, toRefs } from 'vue';
import { useTranslate } from '@demo/use-translate';
import { DayItem } from '../components/Day';
import { CalendarDayItem } from '../CalendarDay';
const i18n = {
'zh-CN': {
@@ -223,7 +223,7 @@ export default {
state.firstDayOfWeek = 0;
};
const dayFormatter = (day: DayItem) => {
const dayFormatter = (day: CalendarDayItem) => {
if (!day.date) {
return day;
}