mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
cron列表改为顺序展示
This commit is contained in:
parent
95b44d915c
commit
9839c453db
|
@ -66,7 +66,7 @@ export default class CronService {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
this.cronDb
|
this.cronDb
|
||||||
.find(query)
|
.find(query)
|
||||||
.sort({ created: -1 })
|
.sort({ created: 1 })
|
||||||
.exec((err, docs) => {
|
.exec((err, docs) => {
|
||||||
resolve(docs);
|
resolve(docs);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user