From 910acd2421e838be41362099f5c101975e33f4a1 Mon Sep 17 00:00:00 2001 From: wangxiangwen4 <1906413238@qq.com> Date: Wed, 23 Jul 2025 13:16:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- activitylink/src/views/homePage.vue | 4 ++-- activitylink/src/views/zhongchou/index.vue | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/activitylink/src/views/homePage.vue b/activitylink/src/views/homePage.vue index 49a13e2..6f5916c 100644 --- a/activitylink/src/views/homePage.vue +++ b/activitylink/src/views/homePage.vue @@ -39,11 +39,11 @@ const loginHandler = async () => { password: password.value }) // router.push('/zhongchou/mainimg') - console.log(response) + // console.log(response) if (response.code == 200 ) { const token = response.data.token - console.log(token) + // console.log(token) localStorage.setItem('token', token) ElMessage.success('登录成功,欢迎您使用本系统') router.push('/zhongchou/mainimg') diff --git a/activitylink/src/views/zhongchou/index.vue b/activitylink/src/views/zhongchou/index.vue index 4f3df3c..487be2a 100644 --- a/activitylink/src/views/zhongchou/index.vue +++ b/activitylink/src/views/zhongchou/index.vue @@ -95,7 +95,10 @@ const handleClose = (key, keyPath) => { 管理员管理 - +