fix: eslint

This commit is contained in:
xingyu
2023-07-29 12:55:51 +08:00
parent 3f36b57363
commit 8e78975521
10 changed files with 54 additions and 32 deletions

View File

@ -35,9 +35,12 @@ onMounted(() => {
// 首次加载小红点
getUnreadCount()
// 轮询刷新小红点
setInterval(() => {
getUnreadCount()
}, 1000 * 60 * 2)
setInterval(
() => {
getUnreadCount()
},
1000 * 60 * 2
)
})
</script>
<template>

View File

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