feat: 添加统一身份认证按钮并更新相关配置

This commit is contained in:
chenxf 2026-03-24 10:16:13 +08:00
parent c4748444c4
commit 77c4c27597
1 changed files with 9 additions and 0 deletions

View File

@ -116,6 +116,12 @@
style="width:100%;margin:10px 0; background:#3296FA;height:64px;font-size:20px" style="width:100%;margin:10px 0; background:#3296FA;height:64px;font-size:20px"
@click.native.prevent="handleLogin" @click.native.prevent="handleLogin"
>登录</el-button> >登录</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> </el-form>
</div> </div>
@ -278,6 +284,9 @@ export default {
logManage(params).then(res => { logManage(params).then(res => {
console.log(res) console.log(res)
}) })
},
handleUnifiedLogin() {
window.location.href = process.env.VUE_APP_BASE_API + '/aiccs-api/oauth2/unified/login'
} }
} }
} }