[events] Remove invalid ref
This commit is contained in:
parent
27ad9984d4
commit
61ed9e70e2
|
@ -45,7 +45,6 @@
|
|||
/>
|
||||
</q-toolbar>
|
||||
<q-calendar-agenda
|
||||
ref="calendar"
|
||||
v-model="selectedDate"
|
||||
:view="calendarRealView"
|
||||
:max-days="calendarDays"
|
||||
|
@ -85,7 +84,6 @@ export default defineComponent({
|
|||
const windowWidth = ref(window.innerWidth);
|
||||
const selectedDate = ref(date.formatDate(new Date(), 'YYYY-MM-DD'));
|
||||
const proxyDate = ref('');
|
||||
const calendar = ref<QCalendar.QCalendar>();
|
||||
const calendarView = ref('week');
|
||||
|
||||
const calendarRealView = computed(() => (calendarDays.value != 7 ? 'day' : 'week'));
|
||||
|
@ -193,7 +191,6 @@ export default defineComponent({
|
|||
return {
|
||||
asYear,
|
||||
asMonth,
|
||||
calendar,
|
||||
selectedDate,
|
||||
events,
|
||||
calendarNext,
|
||||
|
|
Loading…
Reference in New Issue