chore: fix lint issues
This commit is contained in:
@@ -26,7 +26,7 @@ interface Props {
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {});
|
||||
|
||||
// @ts-expect-error unused
|
||||
// @ts-expect-error - unused
|
||||
const { contentElement, overlayStyle } = useLayoutContentStyle();
|
||||
|
||||
const style = computed((): CSSProperties => {
|
||||
|
||||
@@ -12,11 +12,11 @@ const { isFullscreen, toggle } = useFullscreen();
|
||||
// 重新检查全屏状态
|
||||
isFullscreen.value = !!(
|
||||
document.fullscreenElement ||
|
||||
// @ts-expect-error: vendor fullscreen APIs are not included in the standard DOM typings
|
||||
// @ts-expect-error - vendor fullscreen APIs are not included in the standard DOM typings
|
||||
document.webkitFullscreenElement ||
|
||||
// @ts-expect-error: vendor fullscreen APIs are not included in the standard DOM typings
|
||||
// @ts-expect-error - vendor fullscreen APIs are not included in the standard DOM typings
|
||||
document.mozFullScreenElement ||
|
||||
// @ts-expect-error: vendor fullscreen APIs are not included in the standard DOM typings
|
||||
// @ts-expect-error - vendor fullscreen APIs are not included in the standard DOM typings
|
||||
document.msFullscreenElement
|
||||
);
|
||||
</script>
|
||||
|
||||
@@ -28,9 +28,9 @@ const emit = defineEmits<{
|
||||
}>();
|
||||
const active = defineModel<string>('active');
|
||||
|
||||
// @ts-expect-error unused
|
||||
// @ts-expect-error - unused
|
||||
const contentRef = ref();
|
||||
// @ts-expect-error unused
|
||||
// @ts-expect-error - unused
|
||||
const tabRef = ref();
|
||||
|
||||
const style = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user