fix: 修复管理端类型检查阻塞问题
- 修正面板弹窗和对话框覆盖层的类型收敛 - 清理标签滚动与全局搜索中的无效类型和未使用项 - 补齐 API Key 页面弹窗缺失参数以通过 vue-tsc 校验
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user