dcc
2024-08-01 a32c2be0fc5fc132ba2fdcd20de6139638b2d4a5
fdsafsad
3 files modified
10 ■■■■ changed files
src/App.vue 2 ●●● patch | view | raw | blame | history
src/main.js 3 ●●●● patch | view | raw | blame | history
src/page/login/login.vue 5 ●●●● patch | view | raw | blame | history
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;
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
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);
  }