mirror of https://github.com/ElemeFE/element
Select: remove onOptionDestroy event
parent
2250162553
commit
8e8b172bdc
|
@ -149,7 +149,7 @@
|
|||
},
|
||||
|
||||
beforeDestroy() {
|
||||
this.dispatch('ElSelect', 'onOptionDestroy', this.select.options.indexOf(this));
|
||||
this.select.onOptionDestroy(this.select.options.indexOf(this));
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -684,7 +684,6 @@
|
|||
});
|
||||
|
||||
this.$on('handleOptionClick', this.handleOptionSelect);
|
||||
this.$on('onOptionDestroy', this.onOptionDestroy);
|
||||
this.$on('setSelected', this.setSelected);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue