fix: the loading status is not displayed when loading auth providers (#3623)

#### What type of PR is this?

/kind bug
/area console
/milestone 2.4.x

#### What this PR does / why we need it:

修复认证方式管理页面在加载时不显示加载状态的问题。

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/3627/head^2
Ryan Wang 2023-03-29 22:42:18 +08:00 committed by GitHub
parent 8d9be88b94
commit af2b946a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
<script lang="ts" setup>
import { VPageHeader, IconLockPasswordLine, VCard } from "@halo-dev/components";
import {
VPageHeader,
IconLockPasswordLine,
VCard,
VLoading,
} from "@halo-dev/components";
import { useQuery } from "@tanstack/vue-query";
import { apiClient } from "@/utils/api-client";
import type { ListedAuthProvider } from "@halo-dev/api-client";