formSubmit方法获取checkboxChange方法中的值?
checkboxChange: function(e) {
console.log(‘checkbox发生change事件,携带value值为:’, e.detail.value)
},
formSubmit: function(e) {
console.log(e.detail.value)
}
checkboxChange: function(e) {
console.log(‘checkbox发生change事件,携带value值为:’, e.detail.value)
},
formSubmit: function(e) {
console.log(e.detail.value)
}