feat: 添加统一身份认证按钮并更新相关配置
This commit is contained in:
parent
c4748444c4
commit
77c4c27597
|
|
@ -116,6 +116,12 @@
|
|||
style="width:100%;margin:10px 0; background:#3296FA;height:64px;font-size:20px"
|
||||
@click.native.prevent="handleLogin"
|
||||
>登录</el-button>
|
||||
<el-button
|
||||
size="medium"
|
||||
type="default"
|
||||
style="width:100%;margin:0;height:50px;font-size:18px;border:1px solid #3296FA;color:#3296FA"
|
||||
@click.native.prevent="handleUnifiedLogin"
|
||||
>统一身份认证</el-button>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
|
|
@ -278,6 +284,9 @@ export default {
|
|||
logManage(params).then(res => {
|
||||
console.log(res)
|
||||
})
|
||||
},
|
||||
handleUnifiedLogin() {
|
||||
window.location.href = process.env.VUE_APP_BASE_API + '/aiccs-api/oauth2/unified/login'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue