From ac6bbef6786c74e7a86852b1b8bff7f23e8592d8 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期四, 17 十月 2024 09:59:23 +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