fix: types

pull/190/head
xingyu4j 2025-08-04 18:43:33 +08:00
parent 3f1c3a283f
commit 990ae4463a
3 changed files with 13 additions and 3 deletions

View File

@ -104,7 +104,10 @@ onMounted(async () => {
</template>
<template #userId="{ row }">
<span>
{{ userList.find((item) => item.id === row.userId)?.nickname }}
{{
userList.find((item: SystemUserApi.User) => item.id === row.userId)
?.nickname
}}
</span>
</template>
<template #publicStatus="{ row }">

View File

@ -108,7 +108,10 @@ onMounted(async () => {
</template>
<template #userId="{ row }">
<span>
{{ userList.find((item) => item.id === row.userId)?.nickname }}
{{
userList.find((item: SystemUserApi.User) => item.id === row.userId)
?.nickname
}}
</span>
</template>
<template #actions="{ row }">

View File

@ -112,7 +112,11 @@ onMounted(async () => {
</template>
<template #keyId="{ row }">
<span>
{{ apiKeyList.find((item) => item.id === row.keyId)?.name }}
{{
apiKeyList.find(
(item: AiModelApiKeyApi.ApiKey) => item.id === row.keyId,
)?.name
}}
</span>
</template>
<template #actions="{ row }">