【微信小程序报错】Cannot read property 'checkform' of undefi
大佬们这个是什么意思啊,我开发微信小程序时提交表单遇见的,
submitForm(e) {const params = e.detail.value
console.log(params)
// 传入表单数据,调用验证方法if (!this.WxValidate.checkform(e)) {const error = !this.WxValidate.errorList[0]return false}},
submitForm(e) {const params = e.detail.value
console.log(params)
// 传入表单数据,调用验证方法if (!this.WxValidate.checkform(e)) {const error = !this.WxValidate.errorList[0]return false}},