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
Ryan Wang 2023-09-27 10:22:16 +08:00 committed by GitHub
parent 1f0cfc18e3
commit 9b310ca65e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -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>