From 1a84a52826a8dfd2149a4737d96c6085d1f248e3 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期四, 12 九月 2024 11:47:07 +0800 Subject: [PATCH] 调整 --- src/views/student/index.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/views/student/index.vue b/src/views/student/index.vue index af99cd8..63bb9df 100644 --- a/src/views/student/index.vue +++ b/src/views/student/index.vue @@ -180,13 +180,12 @@ }, methods: { getUserDate(code) { - let that = this; login({ code: code, }).then((res) => { localStorage.setItem("user", JSON.stringify(res)); localStorage.setItem("code", code); - that.fetchData(); + window.location.reload(); }); }, handleExport() { -- Gitblit v1.8.0