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 | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/ruoyi-ui/src/settings.js b/ruoyi-ui/src/settings.js
index dce88ec..d2dc8ce 100644
--- a/ruoyi-ui/src/settings.js
+++ b/ruoyi-ui/src/settings.js
@@ -1,11 +1,16 @@
module.exports = {
/**
+ * 网页标题
+ */
+ title: process.env.VUE_APP_TITLE,
+
+ /**
* 侧边栏主题 深色主题theme-dark,浅色主题theme-light
*/
sideTheme: 'theme-dark',
/**
- * 是否系统布局配置
+ * 系统布局配置
*/
showSettings: true,
@@ -18,6 +23,11 @@
* 是否显示 tagsView
*/
tagsView: true,
+
+ /**
+ * 显示页签图标
+ */
+ tagsIcon: false,
/**
* 是否固定头部
@@ -35,10 +45,12 @@
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'
+ footerVisible: false,
+
+ /**
+ * 底部版权文本内容
+ */
+ footerContent: 'Copyright © 2018-2025 RuoYi. All Rights Reserved.'
}
--
Gitblit v1.9.3