北京经济技术开发区经开区虚拟城市项目-【前端】-Web
Jin Lei
2023-11-16 deccf053a8e07b82f4cd8b95b3243f4c5f1d2b86
src/components/login.vue
@@ -204,6 +204,8 @@
          CAloading.close();
          if (res.code == 200) {
            let tokenData = res.token;
            let times = new Date().getTime();
            window.localStorage.setItem("TokenTime", times);
            window.localStorage.setItem("TokenKey", tokenData);
            this.$router.push("/index");
          } else {
@@ -231,6 +233,8 @@
          JBloading.close();
          if (res.code == 200) {
            let tokenData = res.token;
            let times = new Date().getTime();
            window.localStorage.setItem("TokenTime", times);
            window.localStorage.setItem("TokenKey", tokenData);
            this.$router.push("/index");
          } else {
@@ -412,6 +416,8 @@
  position: absolute;
  bottom: -160px;
  animation: square 20s linear infinite;
  border-radius: 45%;
  box-shadow: 0px 0px 10px rgba(255,255,255,0.5);
}
.bg-squares li:nth-child(1) {