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