From 706c3bb69b7b4edb364e3db4ee4d095fe0af81be Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sat, 24 May 2025 14:33:51 +0800
Subject: [PATCH] 添加底部版权信息及开关
---
ruoyi-ui/src/settings.js | 41 +++++++++++++++++++++++++++++++++--------
1 files changed, 33 insertions(+), 8 deletions(-)
diff --git a/ruoyi-ui/src/settings.js b/ruoyi-ui/src/settings.js
index ca6d00c..d2dc8ce 100644
--- a/ruoyi-ui/src/settings.js
+++ b/ruoyi-ui/src/settings.js
@@ -1,15 +1,33 @@
module.exports = {
- title: '若依管理系统',
+ /**
+ * 网页标题
+ */
+ title: process.env.VUE_APP_TITLE,
/**
- * 是否系统布局配置
+ * 侧边栏主题 深色主题theme-dark,浅色主题theme-light
*/
- showSettings: false,
+ sideTheme: 'theme-dark',
+
+ /**
+ * 系统布局配置
+ */
+ showSettings: true,
+
+ /**
+ * 是否显示顶部导航
+ */
+ topNav: false,
/**
* 是否显示 tagsView
*/
tagsView: true,
+
+ /**
+ * 显示页签图标
+ */
+ tagsIcon: false,
/**
* 是否固定头部
@@ -22,10 +40,17 @@
sidebarLogo: true,
/**
- * @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,
+
+ /**
+ * 是否显示底部版权
+ */
+ footerVisible: false,
+
+ /**
+ * 底部版权文本内容
+ */
+ footerContent: 'Copyright © 2018-2025 RuoYi. All Rights Reserved.'
}
--
Gitblit v1.9.3