fix: 修复管理端类型检查阻塞问题

- 修正面板弹窗和对话框覆盖层的类型收敛

- 清理标签滚动与全局搜索中的无效类型和未使用项

- 补齐 API Key 页面弹窗缺失参数以通过 vue-tsc 校验
This commit is contained in:
2026-03-07 21:10:14 +08:00
parent 6dcc6ce893
commit c3e3ba505d
5 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,6 @@
<script setup lang="ts">
import type { StyleValue } from 'vue';
import { computed, inject, useAttrs } from 'vue';
import { useScrollLock } from '@easyflow-core/composables';
@@ -19,11 +21,12 @@ const overlayClass = computed(() => {
customClass,
);
});
const overlayStyle = computed(() => attrs.style as StyleValue);
</script>
<template>
<div
:data-dismissable-modal="id"
:class="overlayClass"
:style="$attrs.style"
:style="overlayStyle"
></div>
</template>

View File

@@ -4,8 +4,6 @@ import type { ComponentPublicInstance } from 'vue';
import { nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
import { EasyFlowScrollbar } from '@easyflow-core/shadcn-ui';
import { useDebounceFn } from '@vueuse/core';
type DomElement = Element | null | undefined;