mirror of https://github.com/halo-dev/halo
feat: add configration route for auth provider item (#4635)
#### What type of PR is this? /area console /kind improvement /milestone 2.10.x #### What this PR does / why we need it: 为认证方式添加更直观的配置页面入口 <img width="1661" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/a7f86d5b-caab-4ac1-9a12-2bb2f5b5f8fb"> #### Which issue(s) this PR fixes: Fixes #4634 #### Does this PR introduce a user-facing change? ```release-note 为 Console 端认证方式管理添加更直观的配置页面入口 ```pull/4668/head
parent
1f0cfc18e3
commit
9b310ca65e
|
@ -3,6 +3,7 @@ import { apiClient } from "@/utils/api-client";
|
|||
import type { ListedAuthProvider } from "@halo-dev/api-client";
|
||||
import {
|
||||
Dialog,
|
||||
IconSettings,
|
||||
Toast,
|
||||
VAvatar,
|
||||
VEntity,
|
||||
|
@ -93,6 +94,19 @@ const handleChangeStatus = async () => {
|
|||
</div>
|
||||
</template>
|
||||
</VEntityField>
|
||||
<VEntityField>
|
||||
<template #description>
|
||||
<RouterLink
|
||||
class="cursor-pointer rounded p-1 text-gray-600 transition-all hover:text-blue-600 group-hover:bg-gray-200/60"
|
||||
:to="{
|
||||
name: 'AuthProviderDetail',
|
||||
params: { name: authProvider.name },
|
||||
}"
|
||||
>
|
||||
<IconSettings />
|
||||
</RouterLink>
|
||||
</template>
|
||||
</VEntityField>
|
||||
</template>
|
||||
</VEntity>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue