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