update ruoyi-ui/src/views/login.vue.
PR描述:将登录页面底部版权信息改为读取配置 1.在 ruoyi-ui/src/settings.js 文件中第55行已经存在底部版权信息配置项: /** * 底部版权文本内容 */ footerContent: 'Copyright © 2018-2025 RuoYi. All Rights Reserved.' 2.将 ruoyi-ui/src/views/login.vue 界面的底部版权信息从硬编码改为读取配置文件中的 footerContent 配置项。 Signed-off-by: ethan_trum <liuchuanhua2003@outlook.com>pull/1074/head
parent
725c7dcea2
commit
d3b4e37403
|
|
@ -56,7 +56,7 @@
|
|||
</el-form>
|
||||
<!-- 底部 -->
|
||||
<div class="el-login-footer">
|
||||
<span>Copyright © 2018-2025 ruoyi.vip All Rights Reserved.</span>
|
||||
<span>{{ footerContent }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
@ -65,12 +65,14 @@
|
|||
import { getCodeImg } from "@/api/login"
|
||||
import Cookies from "js-cookie"
|
||||
import { encrypt, decrypt } from '@/utils/jsencrypt'
|
||||
import defaultSettings from '@/settings'
|
||||
|
||||
export default {
|
||||
name: "Login",
|
||||
data() {
|
||||
return {
|
||||
title: process.env.VUE_APP_TITLE,
|
||||
footerContent: defaultSettings.footerContent,
|
||||
codeUrl: "",
|
||||
loginForm: {
|
||||
username: "admin",
|
||||
|
|
|
|||
Loading…
Reference in New Issue