mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 精简版+动态路由权限初步
This commit is contained in:
@ -1,20 +0,0 @@
|
||||
<template>
|
||||
<n-layout-footer class="bg-white dark:bg-dark">
|
||||
<div class="footer-height flex-center">Copyright ©2021 Soybean Admin</div>
|
||||
</n-layout-footer>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from 'vue';
|
||||
import { NLayoutFooter } from 'naive-ui';
|
||||
import { useThemeStore } from '@/store';
|
||||
|
||||
const theme = useThemeStore();
|
||||
|
||||
const footerHeight = computed(() => `${theme.footerStyle.height}px`);
|
||||
</script>
|
||||
<style scoped>
|
||||
.footer-height {
|
||||
height: v-bind(footerHeight);
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user