diff --git a/packages/vant/src/calendar/CalendarHeader.tsx b/packages/vant/src/calendar/CalendarHeader.tsx index 2f707357e..cfc68c603 100644 --- a/packages/vant/src/calendar/CalendarHeader.tsx +++ b/packages/vant/src/calendar/CalendarHeader.tsx @@ -142,7 +142,7 @@ export default defineComponent({ return (
{canSwitch diff --git a/packages/vant/src/calendar/demo/SwicthModeField.vue b/packages/vant/src/calendar/demo/SwitchModeField.vue similarity index 100% rename from packages/vant/src/calendar/demo/SwicthModeField.vue rename to packages/vant/src/calendar/demo/SwitchModeField.vue diff --git a/packages/vant/src/calendar/demo/index.vue b/packages/vant/src/calendar/demo/index.vue index 9b6d139ad..c4f1726c3 100644 --- a/packages/vant/src/calendar/demo/index.vue +++ b/packages/vant/src/calendar/demo/index.vue @@ -3,7 +3,7 @@ import VanCell from '../../cell'; import VanCalendar from '..'; import { reactive, ref } from 'vue'; import { useTranslate } from '../../../docs/site'; -import SwicthModeField from './SwicthModeField.vue'; +import SwitchModeField from './SwitchModeField.vue'; import TiledDisplay from './TiledDisplay.vue'; import type { CalendarDayItem, CalendarSwitchMode } from '../types'; @@ -197,7 +197,7 @@ const switchMode = ref('none');