perf: add eslint import rules, improve the coupling of some components

This commit is contained in:
vben
2024-07-07 22:14:40 +08:00
parent fbe0fc1738
commit e68e1b40ce
8 changed files with 130 additions and 80 deletions

View File

@@ -1,7 +1,6 @@
/**
* 获取元素可见高度
* @param element
* @returns
*/
function getElementVisibleHeight(
element?: HTMLElement | null | undefined,

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-imports */
import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
import 'vue-router';