v1.7.1 - lint updates

This commit is contained in:
LINING-PC\lining
2026-01-11 22:22:15 +08:00
parent bed3665e59
commit 8e8a90ca6a
15 changed files with 399 additions and 398 deletions
@@ -9,23 +9,23 @@ defineOptions({
name: 'TaskBarContextMenu',
})
interface Props {
// 指定哪些任务类型显示此右键菜单
// 不设置时遵循现有逻辑,设置后仅对指定类型任务显示
taskType?: string | string[]
}
defineProps<Props>()
// 定义 slot
defineSlots<{
// 默认插槽,接收菜单上下文对象
default?: (scope: {
default?:(scope: {
row: any
$index: number
}) => any
}>()
interface Props {
// 指定哪些任务类型显示此右键菜单
// 不设置时遵循现有逻辑,设置后仅对指定类型任务显示
taskType?: string | string[]
}
// 注意:此组件不渲染任何内容,仅用于声明菜单配置
// 实际渲染由 TaskBar 处理,菜单定位和显示状态由内部自动管理
// 菜单会在点击外部或滚动时自动关闭