| | |
| | | <el-button |
| | | :loading="loading" |
| | | type="primary" |
| | | style="width:100%;margin-top:20px;letter-spacing: 10px" |
| | | style="width:100%;margin-top:30px;letter-spacing: 10px;height: 40px;" |
| | | @click.native.prevent="handleLogin" |
| | | >登录 |
| | | </el-button> |
| | |
| | | }, |
| | | |
| | | dialogVisibleCancel() { |
| | | // localStorage.removeItem('token') |
| | | this.dialogVisible = false |
| | | }, |
| | | async dialogVisibleConfirm() { |
| | |
| | | } |
| | | const res = await ForcedOffline(data) |
| | | if (res.code === '200') { |
| | | this.$message.success('强制下线成功!') |
| | | this.$notify.success('强制下线成功!') |
| | | this.dialogVisible = false |
| | | this.$router.push({ path: this.redirect || '/' }) |
| | | // await this.handleLogin() |