diff --git a/element-vue/src/pages/teacher/applyLab.vue b/element-vue/src/pages/teacher/applyLab.vue index 654274e..2cc9845 100644 --- a/element-vue/src/pages/teacher/applyLab.vue +++ b/element-vue/src/pages/teacher/applyLab.vue @@ -301,7 +301,7 @@ } }, //钩子函数,生命周期mouted - mounted() { + async mounted() { this.courseOption = get('',this.u_id) //发送教师id,返回该教师课程管理中所有的课程信息,是一个数组 //测试数据 this.courseOption=[{ @@ -319,7 +319,7 @@ console.log('this is mouted') console.log(this.$refs.weekSelection) var d = new Date() - + this.tableData = await get('/lb/lab/getLabList') } }