新增路由搜索功能

This commit is contained in:
wangding
2023-05-29 11:05:46 +08:00
parent 9f0065f89f
commit 6768cdea05
2 changed files with 79 additions and 0 deletions

View File

@ -3,6 +3,8 @@ import { isDark } from '@/utils/is'
import { useAppStore } from '@/store/modules/app'
import { useDesign } from '@/hooks/web/useDesign'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import routerSearch from '@/components/RouterSearch'
const { getPrefixCls } = useDesign()
const prefixCls = getPrefixCls('app')
@ -24,6 +26,7 @@ setDefaultTheme()
<template>
<ConfigGlobal :size="currentSize">
<RouterView :class="greyMode ? `${prefixCls}-grey-mode` : ''" />
<routerSearch/>
</ConfigGlobal>
</template>
<style lang="scss">