element-plus / element-plus

🎉 A Vue.js 3 UI Library made by Element team
https://element-plus.org
MIT License
24.54k stars 16.59k forks source link

[Component] [menu] el-menu 的default-openeds为响应式数据时 不生效 #14991

Closed ZTzhangtuo closed 11 months ago

ZTzhangtuo commented 11 months ago

Bug Type: Component

Environment

Reproduction

Related Component

Reproduction Link

Element Plus Playground

Steps to reproduce

What is Expected?

从接口获取到菜单数据之后,需要全部展开el-sub-menu 传入el-sub-menu的index数组后 并未展开

What is actually happening?

el-sub-menu不展开

Additional comments

(empty)

yj-liuzepeng commented 11 months ago

在onMounted之前设置呢

github-actions[bot] commented 10 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。