mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-10 09:20:25 +08:00
11 lines
225 B
JavaScript
11 lines
225 B
JavaScript
|
|
Tea.context(function () {
|
||
|
|
this.deleteTask = function (taskId) {
|
||
|
|
teaweb.confirm("确定要删除此任务吗?", function () {
|
||
|
|
this.$post(".deleteTask")
|
||
|
|
.params({
|
||
|
|
taskId: taskId
|
||
|
|
})
|
||
|
|
.refresh()
|
||
|
|
})
|
||
|
|
}
|
||
|
|
})
|