From f6ac203c915d7562aef51628a4ab3e601c3274f1 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 03 八月 2023 19:11:53 +0800
Subject: [PATCH] 1.角色权限优化50%
---
src/views/login/index.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 0a0ff51..58b68fe 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -103,7 +103,7 @@
<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>
@@ -235,6 +235,7 @@
},
dialogVisibleCancel() {
+ // localStorage.removeItem('token')
this.dialogVisible = false
},
async dialogVisibleConfirm() {
@@ -244,7 +245,7 @@
}
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()
--
Gitblit v1.9.3