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