fix(menu): fix the menu outside link does not jump

This commit is contained in:
vben 2021-01-22 00:24:42 +08:00
parent 1fac4b4ba7
commit 55d4b77b04
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -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)}