From 385480120bcda041fe1f43f8a3c63563cff4ebf2 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期四, 04 七月 2024 16:38:03 +0800
Subject: [PATCH] feat:学生上课
---
src/views/meet/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/meet/index.vue b/src/views/meet/index.vue
index 65cfac7..b40fd46 100644
--- a/src/views/meet/index.vue
+++ b/src/views/meet/index.vue
@@ -7,11 +7,11 @@
<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);
-const {meetName, id, realName, userCode} = route.query;
-
+const {meetName, id, userName, userCode} = route.query;
let jitsiApi = null;
onMounted(() => {
const width = window.innerWidth;
@@ -32,11 +32,16 @@
}
},
userInfo: {
- displayName: realName
+ displayName: userName
}
};
jitsiApi = new JitsiMeetExternalAPI(domain, options);
jitsiInit();
+ classMeet(id).then(res => {
+
+ }).catch(err => {
+
+ })
});
const jitsiInit = () => {
--
Gitblit v1.8.0