mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-13 10:32:49 +00:00
完善
This commit is contained in:
parent
5e4d21dca1
commit
4b7e4347cf
@ -56,6 +56,7 @@ export class DictInfoService extends BaseService {
|
|||||||
const value = e.value ? Number(e.value) : e.value;
|
const value = e.value ? Number(e.value) : e.value;
|
||||||
return {
|
return {
|
||||||
...e,
|
...e,
|
||||||
|
// @ts-ignore
|
||||||
value: isNaN(value) ? e.value : value,
|
value: isNaN(value) ? e.value : value,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
@ -308,6 +308,7 @@ export class TaskInfoService extends BaseService {
|
|||||||
if (!job) {
|
if (!job) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// @ts-ignore
|
||||||
const task = await this.taskInfoEntity.findOneBy({ id: job.id });
|
const task = await this.taskInfoEntity.findOneBy({ id: job.id });
|
||||||
const nextTime = await this.getNextRunTime(task.id);
|
const nextTime = await this.getNextRunTime(task.id);
|
||||||
if (task) {
|
if (task) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user