fix: 修复管理端类型检查阻塞问题
- 修正面板弹窗和对话框覆盖层的类型收敛 - 清理标签滚动与全局搜索中的无效类型和未使用项 - 补齐 API Key 页面弹窗缺失参数以通过 vue-tsc 校验
This commit is contained in:
@@ -100,7 +100,7 @@ const modalClass = computed(() => {
|
||||
return cn(
|
||||
'w-[calc(100vw-24px)] max-w-[calc(100vw-24px)] sm:max-w-[min(calc(100vw-48px),1120px)]',
|
||||
widthClassMap[widthKey] || widthClassMap.lg,
|
||||
attrs.class,
|
||||
attrs.class as string | undefined,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -237,11 +237,11 @@ onMounted(() => {
|
||||
class="block truncate text-sm font-medium leading-6 text-[hsl(var(--text-strong))]"
|
||||
>
|
||||
<template
|
||||
v-for="(chunk, chunkIndex) in getHighlightedChunks(
|
||||
v-for="chunk in getHighlightedChunks(
|
||||
item.name || '',
|
||||
keyword,
|
||||
)"
|
||||
:key="`${item.path}-${chunkIndex}`"
|
||||
:key="`${item.path}-${chunk.text}-${chunk.matched}`"
|
||||
>
|
||||
<span
|
||||
:class="
|
||||
|
||||
Reference in New Issue
Block a user