mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 15:43:24 +08:00
去除console.log
This commit is contained in:
parent
0728f1f231
commit
f26d6f1449
|
@ -445,9 +445,7 @@ const Crontab = () => {
|
||||||
request
|
request
|
||||||
.get(`${config.apiPrefix}crons/${cron._id}`)
|
.get(`${config.apiPrefix}crons/${cron._id}`)
|
||||||
.then((data: any) => {
|
.then((data: any) => {
|
||||||
console.log(value);
|
|
||||||
const index = value.findIndex((x) => x._id === cron._id);
|
const index = value.findIndex((x) => x._id === cron._id);
|
||||||
console.log(index);
|
|
||||||
const result = [...value];
|
const result = [...value];
|
||||||
result.splice(index, 1, {
|
result.splice(index, 1, {
|
||||||
...cron,
|
...cron,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user