From cc4f8046f4fab83306e7514367de7a6ad424e493 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 28 十月 2025 22:59:05 +0800
Subject: [PATCH] 班级考勤汇总表

---
 src/layout/index.vue |   18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/src/layout/index.vue b/src/layout/index.vue
index dee6d98..ab4bda9 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -14,8 +14,6 @@
 <script>
 import { Navbar, Sidebar, AppMain } from './components'
 import ResizeMixin from './mixin/ResizeHandler'
-import { login } from "@/api/user";
-
 export default {
   name: 'Layout',
   components: {
@@ -44,23 +42,9 @@
     }
   },
   mounted() {
-    // 鑾峰彇鍦板潃鏍廲ode
-    let code = this.$route.query.code;
-    if (code) {
-      this.getUserDate(code);
-    }
-    //  else {
-    //     this.$router.push("/login");
-    // }
+
   },
   methods: {
-    getUserDate(code) {
-      login({
-        code: code,
-      }).then((res) => {
-        localStorage.setItem("user", JSON.stringify(res));
-      });
-    },
     handleClickOutside() {
       this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
     }

--
Gitblit v1.8.0