@@ -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);