Yao 451a3b19fc
[new feature] 增加 css 编译,方便组件书写 (#40)
* add src dir && add build

* add build watch && change dir name

* bower ignore package.json
2017-10-29 10:42:28 +08:00

15 lines
368 B
JavaScript

module.exports = {
_handleZanFieldChange(event) {
const { componentId } = event.currentTarget.dataset;
event.componentId = componentId;
console.info('[zan:field:change]', event);
if (this.handleZanFieldChange) {
this.handleZanFieldChange(event);
} else {
console.warn('页面缺少 handleZanFieldChange 回调函数');
}
}
};