fixed issue 172 (#173)

This commit is contained in:
Kerwin Bryant 2022-06-17 16:44:05 +08:00 committed by GitHub
parent db3561aa88
commit 893ffd474c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,7 +185,8 @@ export default defineComponent({
<t-tab-panel
value={router.path}
key={`${router.path}_${idx}`}
label={
v-slots={{
label: () => (
<t-dropdown
trigger="context-menu"
minColumnWidth={128}
@ -220,7 +221,8 @@ export default defineComponent({
>
{!router.isHome ? router.title : <t-icon name="home" />}
</t-dropdown>
}
),
}}
removable={!router.isHome}
/>
))}