Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
修正导入
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Nov 8, 2021
1 parent de0a839 commit c690780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/convert/base.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export abstract class BaseService implements OnModuleInit {

public async flush(queue: object[], model: QInitModel<object>): Promise<void> {
if (queue.length === 0) return
// const data = [...queue]
const data = [...queue]
queue.length = 0
// await model.init(data)
await model.init(data)
}

public abstract execute(): Promise<void>
Expand Down

0 comments on commit c690780

Please sign in to comment.