update quasar
This commit is contained in:
@@ -17,7 +17,8 @@ export default defineComponent({
|
||||
props: {
|
||||
discipline: {
|
||||
Type: Object as PropType<IDiscipline>,
|
||||
required: true,
|
||||
required: false,
|
||||
default: {}
|
||||
},
|
||||
directory: {
|
||||
type: String,
|
||||
@@ -54,7 +55,7 @@ export default defineComponent({
|
||||
return calendarStore.eventlist.find((myevent: IEvents) => (myevent.typol === typol) && (new Date(myevent.dateTimeEnd!) >= datenow))
|
||||
}
|
||||
|
||||
function disciplinechanged(myrec: IDiscipline | any) {
|
||||
function disciplinechanged(myrec: IDiscipline) {
|
||||
nextlesson.value = getNextLesson(myrec.typol_code)
|
||||
// console.log('nextlesson', this.nextlesson)
|
||||
}
|
||||
@@ -73,7 +74,8 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function created() {
|
||||
disciplinechanged(props.discipline)
|
||||
if (tools.isObject(props.discipline))
|
||||
disciplinechanged(props.discipline)
|
||||
}
|
||||
|
||||
created()
|
||||
|
||||
Reference in New Issue
Block a user