Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
91263711
Commit
91263711
authored
Dec 02, 2025
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录/注册页面底部版权信息修改为读取配置
parent
9372d340
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
login.vue
ruoyi-ui/src/views/login.vue
+4
-2
register.vue
ruoyi-ui/src/views/register.vue
+4
-2
No files found.
ruoyi-ui/src/views/login.vue
View file @
91263711
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</el-form>
</el-form>
<!-- 底部 -->
<!-- 底部 -->
<div
class=
"el-login-footer"
>
<div
class=
"el-login-footer"
>
<span>
Copyright © 2018-2025 ruoyi.vip All Rights Reserved.
</span>
<span>
{{
footerContent
}}
</span>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -65,12 +65,14 @@
...
@@ -65,12 +65,14 @@
import
{
getCodeImg
}
from
"@/api/login"
import
{
getCodeImg
}
from
"@/api/login"
import
Cookies
from
"js-cookie"
import
Cookies
from
"js-cookie"
import
{
encrypt
,
decrypt
}
from
'@/utils/jsencrypt'
import
{
encrypt
,
decrypt
}
from
'@/utils/jsencrypt'
import
defaultSettings
from
'@/settings'
export
default
{
export
default
{
name
:
"Login"
,
name
:
"Login"
,
data
()
{
data
()
{
return
{
return
{
title
:
process
.
env
.
VUE_APP_TITLE
,
title
:
process
.
env
.
VUE_APP_TITLE
,
footerContent
:
defaultSettings
.
footerContent
,
codeUrl
:
""
,
codeUrl
:
""
,
loginForm
:
{
loginForm
:
{
username
:
"admin"
,
username
:
"admin"
,
...
@@ -156,7 +158,7 @@ export default {
...
@@ -156,7 +158,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.login
{
.login
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
...
ruoyi-ui/src/views/register.vue
View file @
91263711
...
@@ -61,13 +61,14 @@
...
@@ -61,13 +61,14 @@
</el-form>
</el-form>
<!-- 底部 -->
<!-- 底部 -->
<div
class=
"el-register-footer"
>
<div
class=
"el-register-footer"
>
<span>
Copyright © 2018-2025 ruoyi.vip All Rights Reserved.
</span>
<span>
{{
footerContent
}}
</span>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getCodeImg
,
register
}
from
"@/api/login"
import
{
getCodeImg
,
register
}
from
"@/api/login"
import
defaultSettings
from
'@/settings'
export
default
{
export
default
{
name
:
"Register"
,
name
:
"Register"
,
...
@@ -81,6 +82,7 @@ export default {
...
@@ -81,6 +82,7 @@ export default {
}
}
return
{
return
{
title
:
process
.
env
.
VUE_APP_TITLE
,
title
:
process
.
env
.
VUE_APP_TITLE
,
footerContent
:
defaultSettings
.
footerContent
,
codeUrl
:
""
,
codeUrl
:
""
,
registerForm
:
{
registerForm
:
{
username
:
""
,
username
:
""
,
...
@@ -147,7 +149,7 @@ export default {
...
@@ -147,7 +149,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.register
{
.register
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment