From 47082097dc4bbf244a94e5a05fb8d9bb38ee8750 Mon Sep 17 00:00:00 2001 From: lohir <3399054449@qq.com> Date: 星期四, 17 十月 2024 10:23:37 +0800 Subject: [PATCH] 解决在线培训,分页bug --- 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