刚开始学习uniapp 对vue 也是刚起步。然后看教程
在uni-forms的submit中验证表单规则,那我用户注册,验证通过以后点击确认按钮 如何执行注册事件呢???
submit(){
this.$refs.customForm.validate().then(res => {
//是在这里写注册方法吗? this.regForm(res)?
}).catch(err => {
console.log('表单错误信息:', err);
})
},
1***@qq.com (作者)
嗯 开始遇到问题了 但是现在解决了 非常感谢!
2022-11-14 09:52