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> @@ -245,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()