index.js
454 Bytes
Component({
properties: {
data: {
type:Object,
observer: "_dataChange",
}
},
methods: {
jumpToDetail() {
},
onApplyAction(e) {
if (this.properties.data.applyed) {
return;
}
let data = e.currentTarget.dataset;
this.triggerEvent('applyAction', { activityId: data.activityId });
}
},
_dataChange(newValue, oldValue) {
}
});