feat: add provide option

This commit is contained in:
F-loat
2020-04-17 16:22:53 +08:00
committed by Dmitry Nagibin
parent 10a95c013f
commit c8a0291561
@@ -155,6 +155,13 @@ export default {
};
},
provide () {
return {
ncEmit: this.$emit,
ncReset: this.reset
}
},
/* ====================== 事件处理 ====================== */
methods: {