tongshangming 3 місяців тому
батько
коміт
5a7f1e2209

+ 3 - 3
src/components/core/GlobalSetting.vue

@@ -97,15 +97,15 @@ const themeNav = computed(() => themeStore.themeNav)
 
     <el-divider>界面显示</el-divider>
     <div class="flex justify-between items-center mb-4">
-      <div>显示标签页</div>
+      <el-text>显示标签页</el-text>
       <el-switch v-model="themeStore.showTabs"></el-switch>
     </div>
     <div class="flex justify-between items-center mb-4">
-      <div>标签页持久化</div>
+      <el-text>标签页持久化</el-text>
       <el-switch v-model="themeStore.keepAliveTabs"></el-switch>
     </div>
     <div class="flex justify-between items-center">
-      <div>LOGO置于顶部</div>
+      <el-text>LOGO置于顶部</el-text>
       <el-switch v-model="themeStore.logoInHeader"></el-switch>
     </div>
   </el-drawer>

+ 1 - 1
src/config/defaultSetting.ts

@@ -6,7 +6,7 @@ export default {
   themeNav: 'left', // left | top
   showTabs: true, // 显示标签页
   keepAliveTabs: true, // 标签页持久化
-  logoInHeader: true, // 头部logo
+  logoInHeader: true, // logo及title是否显示在头部,false时显示在左侧
   multiTenant: false, // 开启多租户
   isDynamicRouter: false // 开启动态路由即通过接口获取菜单
 }