Commit 897f2068 authored by 杨奕's avatar 杨奕 Committed by GitHub

Menu: delay addItem so it is after old instances's remoteItem when re-render (#11036)

parent 7409be8c
......@@ -97,10 +97,10 @@
if (!this.disabled) {
this.dispatch('ElMenu', 'item-click', this);
this.$emit('click', this);
};
}
}
},
created() {
mounted() {
this.parentMenu.addItem(this);
this.rootMenu.addItem(this);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment