| | |
| | | }, |
| | | 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"; |
| | |
| | | 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); |
| | |
| | | height: 47px; |
| | | width: 85%; |
| | | |
| | | /deep/ input { |
| | | :deep(input) { |
| | | background: transparent; |
| | | border: 0; |
| | | -webkit-appearance: none; |
| | |
| | | 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; |