You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can the actions of Vue's children (grandchildren) trigger directly to grandparent (or more) components? Does vue3.0 have a similar way to $parent?
#2044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
What problem does this feature solve?
。
What does the proposed API look like?
How to make the events of el-form-item component pay directly to the el-form component。
I hope there's something like this:
this.dispatch('ElFormItem', 'el.form.blur', [this.value]);
...
dispatch(componentName, eventName, params) {
var parent = this.$parent || this.$root;
var name = parent.$options.componentName;
The text was updated successfully, but these errors were encountered: