From b7be4ee34348fc76ac354d5b381d614db80e1e56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=A6=86=E9=92=B1=E8=90=BD=E5=B0=BD=E6=A7=BF=E8=8A=B1?=
=?UTF-8?q?=E7=A8=80?= <2675540038@qq.com>
Date: Thu, 18 Apr 2024 17:57:52 +0800
Subject: [PATCH] 1
---
src/layouts/components/Header.vue | 2 +-
src/pages/login/index.vue | 2 +-
src/pages/register/index.vue | 645 ++++++++++++++++++++++++++----
src/pages/user/user_index.vue | 38 +-
src/pages/user/user_info.vue | 51 ++-
src/permission.js | 13 +-
6 files changed, 654 insertions(+), 97 deletions(-)
diff --git a/src/layouts/components/Header.vue b/src/layouts/components/Header.vue
index a271095..2686eb2 100644
--- a/src/layouts/components/Header.vue
+++ b/src/layouts/components/Header.vue
@@ -173,7 +173,7 @@ export default Vue.extend({
handleLogout() {
this.$store.commit('user/removeAssociation');
this.$store.commit('user/removeToken');
- this.$router.push(`/login`);
+ this.$router.push(`/login?id=`+this.association.id);
//this.$router.push(`/login?redirect=${this.$router.history.current.fullPath}`);
},
changeCollapsed() {
diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue
index 733310b..699064c 100644
--- a/src/pages/login/index.vue
+++ b/src/pages/login/index.vue
@@ -45,7 +45,7 @@