fix: types
parent
3f1c3a283f
commit
990ae4463a
|
@ -104,7 +104,10 @@ onMounted(async () => {
|
||||||
</template>
|
</template>
|
||||||
<template #userId="{ row }">
|
<template #userId="{ row }">
|
||||||
<span>
|
<span>
|
||||||
{{ userList.find((item) => item.id === row.userId)?.nickname }}
|
{{
|
||||||
|
userList.find((item: SystemUserApi.User) => item.id === row.userId)
|
||||||
|
?.nickname
|
||||||
|
}}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #publicStatus="{ row }">
|
<template #publicStatus="{ row }">
|
||||||
|
|
|
@ -108,7 +108,10 @@ onMounted(async () => {
|
||||||
</template>
|
</template>
|
||||||
<template #userId="{ row }">
|
<template #userId="{ row }">
|
||||||
<span>
|
<span>
|
||||||
{{ userList.find((item) => item.id === row.userId)?.nickname }}
|
{{
|
||||||
|
userList.find((item: SystemUserApi.User) => item.id === row.userId)
|
||||||
|
?.nickname
|
||||||
|
}}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #actions="{ row }">
|
<template #actions="{ row }">
|
||||||
|
|
|
@ -112,7 +112,11 @@ onMounted(async () => {
|
||||||
</template>
|
</template>
|
||||||
<template #keyId="{ row }">
|
<template #keyId="{ row }">
|
||||||
<span>
|
<span>
|
||||||
{{ apiKeyList.find((item) => item.id === row.keyId)?.name }}
|
{{
|
||||||
|
apiKeyList.find(
|
||||||
|
(item: AiModelApiKeyApi.ApiKey) => item.id === row.keyId,
|
||||||
|
)?.name
|
||||||
|
}}
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<template #actions="{ row }">
|
<template #actions="{ row }">
|
||||||
|
|
Loading…
Reference in New Issue