瀏覽代碼

细节优化

tongshangming 3 月之前
父節點
當前提交
5a7f1e2209
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3 3
      src/components/core/GlobalSetting.vue
  2. 1 1
      src/config/defaultSetting.ts

+ 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 // 开启动态路由即通过接口获取菜单
 }