refactor: ♻️ 代码重构优化
This commit is contained in:
@@ -46,7 +46,7 @@ function resolvePath(routePath: string) {
|
||||
</script>
|
||||
<template>
|
||||
<el-menu
|
||||
:default-active="layout === 'top' ? '-' : currRoute.path"
|
||||
:default-active="currRoute.path"
|
||||
:collapse="!appStore.sidebar.opened"
|
||||
:background-color="variables.menuBg"
|
||||
:text-color="variables.menuText"
|
||||
|
||||
Reference in New Issue
Block a user