From 44db498cedee7573d090797b1fe5c331c413b00a Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Mon, 22 Apr 2024 19:03:57 +0800
Subject: [PATCH] first

---
 src/components/foot.vue |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/src/components/foot.vue b/src/components/foot.vue
index 4fe8bbe..bebf12b 100644
--- a/src/components/foot.vue
+++ b/src/components/foot.vue
@@ -65,7 +65,7 @@
     </div> -->
     <div
       :class="touch == 4 ? 'footDemos' : 'footDemo'"
-      @click="goRouter('/warehouse', 3)"
+      @click="goRouter('/warehouse', 4)"
     >
       <div class="footImgDeft">
         <img
@@ -83,7 +83,7 @@
     </div>
     <div
       :class="touch == 5 ? 'footDemos' : 'footDemo'"
-      @click="goRouter('/user', 4)"
+      @click="goRouter('/user', 5)"
     >
       <div class="footImgDeft">
         <img
@@ -112,16 +112,6 @@
   mounted() {},
   methods: {
     goRouter(url, index) {
-      if (index === 2 || index === 3 || index === 4 || index === 5) {
-        if (
-          window.localStorage.getItem("USERTOKEN") === "" ||
-          window.localStorage.getItem("USERTOKEN") == null ||
-          window.localStorage.getItem("USERTOKEN") == undefined
-        ) {
-          this.$emit("close");
-          return;
-        }
-      }
       this.touch = index;
       setTimeout(() => {
         this.touch = 0;

--
Gitblit v1.9.3