From 50c328b3594885da4d97d87b301bce9e565ef330 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期五, 09 八月 2024 16:10:56 +0800
Subject: [PATCH] feat:通过WebSokcet根据教师会议命令执行操作
---
src/views/train/data-list/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/train/data-list/index.vue b/src/views/train/data-list/index.vue
index 0c53999..977a7bc 100644
--- a/src/views/train/data-list/index.vue
+++ b/src/views/train/data-list/index.vue
@@ -51,7 +51,7 @@
default: () => [],
},
});
-
+const userId = JSON.parse(localStorage.getItem('user')).userInfo.id
const itemClick = (item) => {
classMeet(item.id)
.then((res) => {
@@ -63,8 +63,8 @@
query: {
meetName: item.meetName,
id: item.id,
- userName: userInfo.value?.realName + "_" + item.id || "",
- userCode: userInfo.value?.phone + "_" + item.id || "",
+ userName: userInfo.value?.realName + "_" + userId || "",
+ userCode: userInfo.value?.phone + "_" + userId || "",
},
});
window.open(path.href, "_blank");
--
Gitblit v1.8.0