|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="layout-footer pb15">
|
|
|
<div class="layout-footer-warp">
|
|
|
- <div>Admin.NET</div>
|
|
|
+ <div>{{ themeConfig.globalTitle }}</div>
|
|
|
<div class="mt5">Copyright © 2023 Daming All rights reserved.</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -9,6 +9,13 @@
|
|
|
|
|
|
<script setup lang="ts" name="layoutFooter">
|
|
|
// 此处需有内容(注释也得),否则缓存将失败
|
|
|
+import { storeToRefs } from 'pinia';
|
|
|
+import { useThemeConfig } from '/@/stores/themeConfig';
|
|
|
+
|
|
|
+// 定义变量内容
|
|
|
+const storesThemeConfig = useThemeConfig();
|
|
|
+const { themeConfig } = storeToRefs(storesThemeConfig);
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|