mirror of
https://github.com/vxcontrol/ncform.git
synced 2026-07-19 18:23:32 -04:00
feat: add provide option
This commit is contained in:
@@ -155,6 +155,13 @@ export default {
|
||||
};
|
||||
},
|
||||
|
||||
provide () {
|
||||
return {
|
||||
ncEmit: this.$emit,
|
||||
ncReset: this.reset
|
||||
}
|
||||
},
|
||||
|
||||
/* ====================== 事件处理 ====================== */
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user