子組件formSubmit方法
formSubmit (e) {
this.triggerEvent('formSubmit')
}<son-form bindsubmit="formSubmit"></son-form>父組件formSubmit方法
formSubmit (e) {
console.log(1)
}
添加回答
舉報
0/150
提交
取消