mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
去除console.log
This commit is contained in:
1 parent
0728f1f231
commit
f26d6f1449
1 file changed
-2
@@ -445,9 +445,7 @@ const Crontab = () => {
|
||||
request
|
||||
.get(`${config.apiPrefix}crons/${cron._id}`)
|
||||
.then((data: any) => {
|
||||
console.log(value);
|
||||
const index = value.findIndex((x) => x._id === cron._id);
|
||||
console.log(index);
|
||||
const result = [...value];
|
||||
result.splice(index, 1, {
|
||||
...cron,
|
||||
|
||||
Reference in new issue
Block a user