ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

[bug report] navmenu navigation menu, dynamic modification mode, secondary menu will be misplaced, multiple versions of this #19769

Open gaoyia opened 4 years ago

gaoyia commented 4 years ago

Element UI version

2.13.2

OS/Browsers version

win10 chrome

Vue version

2.6.11

Reproduction Link

https://codepen.io/gaoyia/pen/ExPbdvQ

Steps to reproduce

http://jsrun.net/RzvKp/edit

What is Expected?

不要错位,,切换后变成原来的样子就好

What is actually happening?

动态修改mode,二级菜单会导致整个页面错位,多个版本如此

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.13.2

OS/Browsers version

win10 chrome

Vue version

2.6.11

Reproduction Link

https://codepen.io/gaoyia/pen/ExPbdvQ

Steps to reproduce

http://jsrun.net/RzvKp/edit

What is Expected?

Do not misplace, switch to the original appearance

What is actually happening?

If the mode is modified dynamically, the secondary menu will cause the whole page to be misplaced, as is the case for multiple versions

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.