cron列表改为顺序展示

This commit is contained in:
whyour 2021-04-04 17:13:02 +08:00
parent 95b44d915c
commit 9839c453db

View File

@ -66,7 +66,7 @@ export default class CronService {
return new Promise((resolve) => {
this.cronDb
.find(query)
.sort({ created: -1 })
.sort({ created: 1 })
.exec((err, docs) => {
resolve(docs);
});