体质测试
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
813 B

2 years ago
const { extractComponentId } = require('../common/helper');
module.exports = {
_handleZanFieldChange(event) {
const componentId = extractComponentId(event);
event.componentId = componentId;
if (this.handleZanFieldChange) {
return this.handleZanFieldChange(event);
}
console.warn('页面缺少 handleZanFieldChange 回调函数');
},
_handleZanFieldFocus(event) {
const componentId = extractComponentId(event);
event.componentId = componentId;
if (this.handleZanFieldFocus) {
return this.handleZanFieldFocus(event);
}
},
_handleZanFieldBlur(event) {
const componentId = extractComponentId(event);
event.componentId = componentId;
if (this.handleZanFieldBlur) {
return this.handleZanFieldBlur(event);
}
}
};