From 56bc0990597bf3d9667b97b98bcfbb9092ad9df6 Mon Sep 17 00:00:00 2001
From: 黄何裕 <1053952480@qq.com>
Date: 星期一, 15 七月 2024 16:46:35 +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