Commit 8e8b172b authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Select: remove onOptionDestroy event

parent 22501625
......@@ -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);
},
......
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