mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-12-02 17:53:47 +08:00
Add layout registration, visual editing, and source generation. Preserve embedded pages and wait for asynchronous layout renderers. Add workspace lint and formatting commands.
12 lines
314 B
TypeScript
12 lines
314 B
TypeScript
import { useSettingGetters } from '@/store'
|
|
import Breadcrumb from '../components/SiderBar/components/Breadcrumb'
|
|
|
|
export default defineComponent({
|
|
name: 'LayoutBreadcrumb',
|
|
setup() {
|
|
const { getBreadcrumbSwitch } = useSettingGetters()
|
|
|
|
return () => getBreadcrumbSwitch.value && <Breadcrumb />
|
|
},
|
|
})
|