ZhangXianQiang
2024-07-04 385480120bcda041fe1f43f8a3c63563cff4ebf2
feat:学生上课
2个文件已修改
10 ■■■■ 已修改文件
src/api/modules/meet.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/meet/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/modules/meet.js
@@ -5,6 +5,6 @@
  return service.get('/api/student/meet/page', {params: getData});
};
export const classMeet = () => {
export const classMeet = (id) => {
  return service.get('/api/student/meet/' + id);
}
src/views/meet/index.vue
@@ -7,6 +7,7 @@
<script setup>
import { ref, onMounted } from 'vue';
import {useRoute} from 'vue-router';
import {classMeet} from '@/api/modules/meet.js';
const route = useRoute();
const meet = ref(null);
@@ -36,6 +37,11 @@
  };
  jitsiApi = new JitsiMeetExternalAPI(domain, options);
  jitsiInit();
  classMeet(id).then(res => {
  }).catch(err => {
  })
});
const jitsiInit = () => {