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

[Feature Request] Add inital openning state #8303

Closed voronindev closed 6 years ago

voronindev commented 6 years ago

Existing Component

Yes

Component Name

ElSubmenu

Description

It's convenient to add [open] property, instead of open it manually any time

<el-submenu index="1" :open=true>
     ...
</el-submenu>
Leopoldthecoder commented 6 years ago

use default-openeds