mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 17:56:30 +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
|
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,
|
||||||
|
|||||||
Reference in new issue
Block a user