From a32c2be0fc5fc132ba2fdcd20de6139638b2d4a5 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Thu, 01 Aug 2024 18:02:01 +0800
Subject: [PATCH] fdsafsad
---
src/page/login/login.vue | 5 ++++-
src/main.js | 3 ++-
src/App.vue | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 22579bb..9ba2471 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -45,7 +45,7 @@
},
name: "App",
created() {
- this.setUseInfo();
+ //this.setUseInfo();
this.$state.theme = "red";
let title = this.$route.meta.title || this.$t("hj224");
this.title = title;
diff --git a/src/main.js b/src/main.js
index 59231ea..c37b33b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -138,7 +138,8 @@
document.title = to.meta.title;
console.log(store.state, "store.state", !!store.state.token);
if (to.meta.requireAuth && !!!store.state.token) {
- next("/login");
+ // next("/login");
+ //点击管理后台分享的二维码 进入注册页面 会识别未登录 导致进入登录页面
}
// if (!to.query.url && from.query.url) {
// to.query.url = from.query.url
diff --git a/src/page/login/login.vue b/src/page/login/login.vue
index e99e719..cb0a528 100644
--- a/src/page/login/login.vue
+++ b/src/page/login/login.vue
@@ -170,8 +170,11 @@
font-weight: 400;
font-size: 0.37333rem;
color: #8c9fad;
- margin: 0 auto;
+ margin: 0.4rem auto;
padding: 0.34667rem 0.4rem;
+ width: 100%;
+ height: 6rem;
+ text-align: center;
span {
color: rgb(5, 106, 239);
}
--
Gitblit v1.9.3