Files

11 lines
225 B
JavaScript
Raw Permalink Normal View History

Tea.context(function () {
this.deleteTask = function (taskId) {
teaweb.confirm("确定要删除此任务吗?", function () {
this.$post(".deleteTask")
.params({
taskId: taskId
})
.refresh()
})
}
})