chore: finalize oxlint migration config

This commit is contained in:
xingyu4j
2026-03-13 20:25:25 +08:00
parent 40c66958bc
commit e7fa87b301
47 changed files with 1466 additions and 414 deletions

View File

@@ -4,7 +4,6 @@ import type { MenuRecordRaw } from '@vben-core/typings';
import { computed } from 'vue';
import { MenuBadge, MenuItem, SubMenu as SubMenuComp } from './components';
// eslint-disable-next-line import/no-self-import
import SubMenu from './sub-menu.vue';
interface Props {

View File

@@ -12,11 +12,11 @@ const { isFullscreen, toggle } = useFullscreen();
// 重新检查全屏状态
isFullscreen.value = !!(
document.fullscreenElement ||
// @ts-ignore
// @ts-expect-error: vendor fullscreen APIs are not included in the standard DOM typings
document.webkitFullscreenElement ||
// @ts-ignore
// @ts-expect-error: vendor fullscreen APIs are not included in the standard DOM typings
document.mozFullScreenElement ||
// @ts-ignore
// @ts-expect-error: vendor fullscreen APIs are not included in the standard DOM typings
document.msFullscreenElement
);
</script>