From 649cdc616e19602d7bfb9a1d825580b3c38a6e64 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 26 七月 2024 18:03:57 +0800
Subject: [PATCH] 会议按钮

---
 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