mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复删除定时任务
This commit is contained in:
1 parent
f9f1f9d685
commit
78ab74fe1b
1 file changed
+1
-3
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user