Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas3-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
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas3-fe
Commits
723bb268
Commit
723bb268
authored
Dec 29, 2021
by
guxukai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: menu高亮调整
parent
7af1519d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
default-layout.vue
src/shared/layouts/default-layout.vue
+2
-3
No files found.
src/shared/layouts/default-layout.vue
View file @
723bb268
...
...
@@ -106,7 +106,7 @@
</template>
<
script
lang=
"ts"
setup
>
import
{
onBeforeRouteUpdate
,
useRoute
,
useRouter
}
from
'vue-router'
import
{
ref
,
toRaw
,
onMounted
,
getCurrentInstance
}
from
'vue'
import
{
ref
,
toRaw
,
onMounted
,
getCurrentInstance
,
computed
}
from
'vue'
import
{
ArrowRight
}
from
'@element-plus/icons-vue'
import
AsideMenuList
from
'@shared/layouts/components/aside-menu-list/index.vue'
import
{
useRequest
}
from
'vue-request'
...
...
@@ -122,10 +122,9 @@ const layoutStore = useLayout()
const
PROJECT_NAME
=
process
.
env
.
APP_NAME
const
$route
=
useRoute
()
const
$router
=
useRouter
()
let
currentActiveRoute
=
ref
(
'home'
)
const
currentActiveRoute
=
computed
(()
=>
$route
.
name
as
string
)
onMounted
(()
=>
{
setTheme
(
false
)
currentActiveRoute
.
value
=
$route
.
name
as
string
})
/**
* @description 面包屑导航和侧边导航
...
...
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