mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 12:06:30 +08:00
fixed issue 172 (#173)
This commit is contained in:
parent
db3561aa88
commit
893ffd474c
|
@ -185,7 +185,8 @@ export default defineComponent({
|
||||||
<t-tab-panel
|
<t-tab-panel
|
||||||
value={router.path}
|
value={router.path}
|
||||||
key={`${router.path}_${idx}`}
|
key={`${router.path}_${idx}`}
|
||||||
label={
|
v-slots={{
|
||||||
|
label: () => (
|
||||||
<t-dropdown
|
<t-dropdown
|
||||||
trigger="context-menu"
|
trigger="context-menu"
|
||||||
minColumnWidth={128}
|
minColumnWidth={128}
|
||||||
|
@ -220,7 +221,8 @@ export default defineComponent({
|
||||||
>
|
>
|
||||||
{!router.isHome ? router.title : <t-icon name="home" />}
|
{!router.isHome ? router.title : <t-icon name="home" />}
|
||||||
</t-dropdown>
|
</t-dropdown>
|
||||||
}
|
),
|
||||||
|
}}
|
||||||
removable={!router.isHome}
|
removable={!router.isHome}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user