ElemeFE / ElemeFE/element

In [feature request] El menu horizontal mode, bind the dynamic menu of menulist to the component, and each level of click to expand will request the submenu, then update the menulist and open the parent menu at the same time, so that the submenu positioning will be lost

Open
#18,730 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component

### Component Name
menu

### Description
整体功能:使用menu组件水平模式(horizontal),数据全部动态获取(后台或者mock),且每一级都可获取请求接口获取其子菜单
1、菜单水平
2、首先进入页面先请求一级菜单menulist,然后绑定给封装的menu组件,如果菜单需要子菜单,给菜单上绑定特定参数url,展开的同时根据url会请求后台接口,将请求的子菜单拼接在menulist对应的父菜单上
3,监听或者computed中添加menulist,进而在添加后,同时展开子菜单
4,bug:展开的子菜单中,给Body外添加了class=“el-menu--horizontal”的div,但class=“el-menu--horizontal”的div会丢失定位position:fixed,top/left等定位元素?????
5,请问怎么解决?????

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.