perf: aotu import hooks

This commit is contained in:
xingyu
2023-01-18 14:23:45 +08:00
parent fcd19e1371
commit 8c74e527a9
132 changed files with 116 additions and 308 deletions

View File

@ -1,6 +1,6 @@
import type { App } from 'vue'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { useI18n } from '@/hooks/web/useI18n'
const { t } = useI18n() // 国际化
export function hasPermi(app: App<Element>) {

View File

@ -1,6 +1,6 @@
import type { App } from 'vue'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { useI18n } from '@/hooks/web/useI18n'
const { t } = useI18n() // 国际化
export function hasRole(app: App<Element>) {