Refactoring code module 11_discipline

This commit is contained in:
STW_TTTY\stwtt 2024-09-19 16:37:16 +07:00
parent 202fbf27b6
commit 9653ae78cb
58 changed files with 1021 additions and 1305 deletions

View file

@ -1,7 +1,7 @@
<script setup lang="ts">
import { useQuasar } from "quasar";
import { ref, watch, type PropType } from "vue";
import { useQuasar } from "quasar";
import FullCalendar from "@fullcalendar/vue3";
import dayGridPlugin from "@fullcalendar/daygrid";
import type { CalendarOptions } from "@fullcalendar/core";
@ -34,7 +34,7 @@ const props = defineProps({
default: false,
},
close: {
type: Boolean,
type: Function,
default: true,
},
});
@ -162,7 +162,7 @@ watch(
unelevated
round
dense
@click="props.close"
@click="props.close?.()"
style="color: #ff8080; background-color: #ffdede"
/>
</q-toolbar>