Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hxyj-admin-fe
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
hxyj
hxyj-admin-fe
Commits
a2ad7d5f
You need to sign in or sign up before continuing.
Commit
a2ad7d5f
authored
Jun 10, 2025
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: element ui配置调整
parent
fd0a3eeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
app.vue
src/app.vue
+2
-4
index.vue
src/layout/index.vue
+1
-3
No files found.
src/app.vue
View file @
a2ad7d5f
<
script
setup
lang=
"ts"
>
import
{
ref
}
from
'vue'
import
{
ref
,
shallowRef
}
from
'vue'
import
{
useResizeObserver
}
from
'@vueuse/core'
import
{
useDesignSettingStore
}
from
'@/store/modules/design-setting'
import
zhCn
from
'element-plus/es/locale/lang/zh-cn'
const
designSettingStore
=
useDesignSettingStore
()
const
currentLocale
=
ref
({
zhCn
,
})
const
currentLocale
=
shallowRef
(
zhCn
)
const
rootContainer
=
ref
<
HTMLDivElement
|
null
>
(
null
)
...
...
src/layout/index.vue
View file @
a2ad7d5f
...
...
@@ -45,9 +45,7 @@ watchEffect(() => {
<el-main
class=
"main-content-wrapper"
>
<RouterView
v-slot=
"
{ Component }">
<Transition
appear
name=
"fade-slide"
mode=
"out-in"
>
<div>
<Component
:is=
"Component"
/>
</div>
<Component
:is=
"Component"
/>
</Transition>
</RouterView>
</el-main>
...
...
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