fix: bugs

This commit is contained in:
xingyuv
2023-03-07 09:41:01 +08:00
parent 65e3652534
commit 004d214a11
3 changed files with 12 additions and 3 deletions

View File

@ -409,7 +409,10 @@ watch(
{
icon: 'ep:close',
label: t('common.closeTab'),
disabled: !!visitedViews?.length && selectedTag?.meta.affix
disabled: !!visitedViews?.length && selectedTag?.meta.affix,
command: () => {
closeSelectedTag(selectedTag!)
}
},
{
divided: true,