mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 06:46:09 +08:00
修复删除定时任务
This commit is contained in:
parent
f9f1f9d685
commit
78ab74fe1b
|
@ -153,9 +153,7 @@ const Crontab = () => {
|
|||
),
|
||||
onOk() {
|
||||
request
|
||||
.delete(`${config.apiPrefix}crons`, {
|
||||
data: { _id: record._id },
|
||||
})
|
||||
.delete(`${config.apiPrefix}crons/${record._id}`)
|
||||
.then((data: any) => {
|
||||
if (data.code === 200) {
|
||||
notification.success({
|
||||
|
|
Loading…
Reference in New Issue
Block a user