Skip to content

Commit

Permalink
Update context.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxingsun authored Jul 24, 2024
1 parent 7e786a3 commit ac33fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugins/templates/keepalive/context.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export function useKeepOutlets() {
{{#isNewTabsAPISupported}}
items={Object.entries(keepElements.current).map(([pathname, {name, icon, closable, children, ...other}]: any) => ({
label: name,
icon: icon
icon: icon,
key: `${pathname?.toLowerCase()}::${tabNameMap[pathname?.toLowerCase()]}`,
closable: Object.entries(keepElements.current).length === 1 ? false : closable,
{{#hasFixedHeader}}
Expand Down

0 comments on commit ac33fca

Please sign in to comment.