he wei
2023-12-23 fc842d9e22aef1946df050257be41b4bfbd838a9
src/views/login/index.vue
@@ -44,6 +44,7 @@
  },
  methods: {
    ...mapMutations("user", ["SETUSER", "SETDOWNLOAD", "SETUID"]),
    ...mapMutations("tagsView", ["DEL_ALL_VISITED_VIEWS", "DEL_ALL_CACHED_VIEWS"]),
    checkCapslock(e) {
      const { key } = e;
      this.capsTooltip = key && key.length === 1 && key >= "A" && key <= "Z";
@@ -59,6 +60,9 @@
            this.SETUSER(data2.uname);
            this.SETDOWNLOAD(data2.udownloadRole);
            this.SETUID(data2.uid);
            // 关闭所有已打开的标签
            this.DEL_ALL_VISITED_VIEWS();
            this.DEL_ALL_CACHED_VIEWS();
            this.$router.push("/");
          } else {
            this.$message.error(msg);
@@ -164,7 +168,7 @@
    height: 47px;
    width: 85%;
    /deep/ input {
    :deep(input) {
      background: transparent;
      border: 0;
      -webkit-appearance: none;
@@ -289,11 +293,6 @@
    background: linear-gradient(to right, #059fab 0, #09335b 100%);
    box-shadow: 10px 10px 20px -10px #000;
  }
  // /deep/ .el-form-item__content {
  //   background: transparent;
  //   border: 1px solid #000;
  //   border-radius: 4px;
  // }
  .title-container {
    position: relative;