From cd0ee95b9cc17be973530271f6a578952778fdb4 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Fri, 23 May 2025 14:57:49 +0800
Subject: [PATCH] 添加页签图标显示开关功能
---
ruoyi-ui/src/settings.js | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/ruoyi-ui/src/settings.js b/ruoyi-ui/src/settings.js
index 059c74d..e3e8b5f 100644
--- a/ruoyi-ui/src/settings.js
+++ b/ruoyi-ui/src/settings.js
@@ -1,13 +1,18 @@
module.exports = {
/**
+ * 网页标题
+ */
+ title: process.env.VUE_APP_TITLE,
+
+ /**
* 侧边栏主题 深色主题theme-dark,浅色主题theme-light
*/
sideTheme: 'theme-dark',
/**
- * 是否系统布局配置
+ * 系统布局配置
*/
- showSettings: false,
+ showSettings: true,
/**
* 是否显示顶部导航
@@ -18,6 +23,11 @@
* 是否显示 tagsView
*/
tagsView: true,
+
+ /**
+ * 显示页签图标
+ */
+ tagsIcon: false,
/**
* 是否固定头部
@@ -32,13 +42,5 @@
/**
* 是否显示动态标题
*/
- dynamicTitle: false,
-
- /**
- * @type {string | array} 'production' | ['production', 'development']
- * @description Need show err logs component.
- * The default is only used in the production env
- * If you want to also use it in dev, you can pass ['production', 'development']
- */
- errorLog: 'production'
+ dynamicTitle: false
}
--
Gitblit v1.9.3