去除console.log

This commit is contained in:
hanhh 2021-07-04 19:25:40 +08:00
parent 0728f1f231
commit f26d6f1449

View File

@ -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,