1.2.7
macOS Sierra 10.12.4 / Chrome 57
2.2.6
Update menu items (with v-for, for example) and change default-active right after adding/removing items
Active menu to be changed
Active menu is not changed. Just as an example, this fiddle works: http://jsfiddle.net/z3wLb2wx/. Setting a timeout to change the default active changes the active item, but if you change right after adding, it does not update.
I'm not sure if binding to default-active is the best approach, perhaps adding a v-model so we can directly track which item is active.
This is probably a duplicate of #2670. Feel free to close if you think so
your demo is not about menu
@baiyaaaaa sorry about that, used an old JSFiddle and forgot to save. Updated the comment with the new link: http://jsfiddle.net/saetsgzo/
need prop "action", data name "actionIndex", but not implement
Most helpful comment
http://jsfiddle.net/saetsgzo/2/