修复 tab-item 组件 closable 属性警告

This commit is contained in:
就眠儀式
2022-01-24 02:16:34 +08:00
parent f409585315
commit 95c72ada8e
3 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ const props = withDefaults(
defineProps<{
id: string;
title: string;
closable?: boolean;
closable?: boolean | string;
}>(),
{
closable: true,