Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
najiu-frontend
najiu-admin-template
Commits
55d4b77b
Commit
55d4b77b
authored
Jan 22, 2021
by
vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(menu): fix the menu outside link does not jump
parent
1fac4b4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+2
-0
index.tsx
src/layouts/default/menu/index.tsx
+1
-0
No files found.
CHANGELOG.zh_CN.md
View file @
55d4b77b
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
-
修复 modal 高度计算错误
-
修复 modal 高度计算错误
-
修复菜单折叠状态下点击标签页弹出菜单
-
修复菜单折叠状态下点击标签页弹出菜单
-
修复 form 表单初始化值为 0 问题
-
修复 form 表单初始化值为 0 问题
-
修复表格换行问题
-
修复菜单外链不跳转
## 2.0.0-rc.17 (2020-01-18)
## 2.0.0-rc.17 (2020-01-18)
...
...
src/layouts/default/menu/index.tsx
View file @
55d4b77b
...
@@ -131,6 +131,7 @@ export default defineComponent({
...
@@ -131,6 +131,7 @@ export default defineComponent({
if
(
!
menus
||
!
menus
.
length
)
return
null
;
if
(
!
menus
||
!
menus
.
length
)
return
null
;
return
!
props
.
isHorizontal
?
(
return
!
props
.
isHorizontal
?
(
<
SimpleMenu
<
SimpleMenu
beforeClickFn=
{
beforeMenuClickFn
}
items=
{
menus
}
items=
{
menus
}
theme=
{
unref
(
getComputedMenuTheme
)
}
theme=
{
unref
(
getComputedMenuTheme
)
}
accordion=
{
unref
(
getAccordion
)
}
accordion=
{
unref
(
getAccordion
)
}
...
...
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