修改页面
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
Component({
|
||||
properties: {
|
||||
item: { type: Object, value: {} },
|
||||
done: { type: Boolean, value: false },
|
||||
streak: { type: Number, value: undefined },
|
||||
categoryLabel: { type: String, value: '' },
|
||||
cycleLabel: { type: String, value: '' },
|
||||
},
|
||||
methods: {
|
||||
onTap() {
|
||||
this.triggerEvent('tap', { id: this.data.item.id })
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user