Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
101ed368
authored
Jan 04, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://gitee.com/yudaocode/yudao-ui-admin-vue3
parents
452d6024
48e7e7e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
src/components/RouterSearch/index.vue
+5
-0
src/layout/components/Footer/src/Footer.vue
+4
-1
No files found.
src/components/RouterSearch/index.vue
View file @
101ed368
...
@@ -79,9 +79,14 @@ function remoteMethod(data) {
...
@@ -79,9 +79,14 @@ function remoteMethod(data) {
function
handleChange
(
path
)
{
function
handleChange
(
path
)
{
router
.
push
({
path
})
router
.
push
({
path
})
hiddenSearch
()
hiddenTopSearch
()
hiddenTopSearch
()
}
}
function
hiddenSearch
()
{
showSearch
.
value
=
false
}
function
hiddenTopSearch
()
{
function
hiddenTopSearch
()
{
showTopSearch
.
value
=
false
showTopSearch
.
value
=
false
}
}
...
...
src/layout/components/Footer/src/Footer.vue
View file @
101ed368
...
@@ -12,6 +12,9 @@ const prefixCls = getPrefixCls('footer')
...
@@ -12,6 +12,9 @@ const prefixCls = getPrefixCls('footer')
const
appStore
=
useAppStore
()
const
appStore
=
useAppStore
()
const
title
=
computed
(()
=>
appStore
.
getTitle
)
const
title
=
computed
(()
=>
appStore
.
getTitle
)
// 添加当前年份计算属性
const
currentYear
=
computed
(()
=>
new
Date
().
getFullYear
())
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -19,6 +22,6 @@ const title = computed(() => appStore.getTitle)
...
@@ -19,6 +22,6 @@ const title = computed(() => appStore.getTitle)
:class=
"prefixCls"
:class=
"prefixCls"
class=
"h-[var(--app-footer-height)] bg-[var(--app-content-bg-color)] text-center leading-[var(--app-footer-height)] text-[var(--el-text-color-placeholder)] dark:bg-[var(--el-bg-color)] overflow-hidden"
class=
"h-[var(--app-footer-height)] bg-[var(--app-content-bg-color)] text-center leading-[var(--app-footer-height)] text-[var(--el-text-color-placeholder)] dark:bg-[var(--el-bg-color)] overflow-hidden"
>
>
<span
class=
"text-14px"
>
Copyright ©
2022-
{{
title
}}
</span>
<span
class=
"text-14px"
>
Copyright ©
{{
currentYear
}}
{{
title
}}
</span>
</div>
</div>
</
template
>
</
template
>
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