feat(hooks): Add useIntro hook

feat: Add guide demo
This commit is contained in:
陈凯龙
2022-01-25 17:43:53 +08:00
parent cb558f8af9
commit 0832194e61
15 changed files with 235 additions and 50 deletions

View File

@@ -12,7 +12,7 @@ import { cloneDeep } from 'lodash-es'
import { filterMenusPath, initTabMap, tabPathMap } from './helper'
import { useDesign } from '@/hooks/web/useDesign'
const { getPrefixCls } = useDesign()
const { getPrefixCls, variables } = useDesign()
const prefixCls = getPrefixCls('tab-menu')
@@ -106,6 +106,7 @@ export default defineComponent({
return () => (
<div
id={`${variables.namespace}-menu`}
class={[
prefixCls,
'relative bg-[var(--left-menu-bg-color)] top-1px',