Refactoring code module 11_discipline
This commit is contained in:
parent
202fbf27b6
commit
9653ae78cb
58 changed files with 1021 additions and 1305 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue