11 lines
385 B
TypeScript
11 lines
385 B
TypeScript
|
import useUserStore from '@/user/useUserStore'
|
||
|
import useRouterStore from '@/useRouterStore'
|
||
|
import { defineComponent } from 'vue'
|
||
|
import HeaderSetting from '../header/headerSetting'
|
||
|
|
||
|
export default defineComponent(() => {
|
||
|
const router = useRouterStore()
|
||
|
const user = useUserStore()
|
||
|
return () => <>{router.path === 'custom-header' ? <HeaderSetting></HeaderSetting> : null}</>
|
||
|
})
|