mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2026-12-04 02:53:36 +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
294 B
TypeScript
12 lines
294 B
TypeScript
import { useSettingGetters } from '@/store'
|
|
import FooterWrapper from '../default/FooterWrapper'
|
|
|
|
export default defineComponent({
|
|
name: 'LayoutFooter',
|
|
setup() {
|
|
const { getCopyrightSwitch } = useSettingGetters()
|
|
|
|
return () => getCopyrightSwitch.value && <FooterWrapper />
|
|
},
|
|
})
|