guhongwei 4 years ago
parent
commit
07057a1646
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/views/index.vue

+ 0 - 4
src/views/index.vue

@@ -95,10 +95,6 @@ export default {
       this.$router.push({ path: '/home/classmenu', query: { id: index } });
     },
     searchToken() {
-      this.$toast.loading({
-        message: '登陆中...',
-        duration: 0,
-      });
       let token = this.$route.query.token;
       let user = jwt.decode(token);
       localStorage.setItem('user', JSON.stringify(user));