feat:新增版权显示控制

This commit is contained in:
秋帆
2024-06-02 11:24:44 +08:00
parent 4765d8f3cf
commit 0f3d927f98
6 changed files with 37 additions and 50 deletions

View File

@@ -5,6 +5,7 @@
<Header></Header>
<Tabs></Tabs>
<Main></Main>
<GiFooter v-if="appStore.copyrightDisplay" />
</a-layout>
</a-layout>
</template>
@@ -14,8 +15,11 @@ import Asider from './components/Asider/index.vue'
import Header from './components/Header/index.vue'
import Main from './components/Main.vue'
import Tabs from './components/Tabs/index.vue'
import GiFooter from '@/components/GiFooter/index.vue'
import { useAppStore } from '@/stores'
defineOptions({ name: 'LayoutDefault' })
const appStore = useAppStore()
</script>
<style lang="scss" scoped>
@@ -25,6 +29,7 @@ defineOptions({ name: 'LayoutDefault' })
.layout-default {
flex-direction: row;
&-right {
overflow: hidden;
}