修改依赖安装初始状态

This commit is contained in:
whyour
2023-04-12 00:45:06 +08:00
parent 4498449eea
commit ef7283a9fd
4 changed files with 73 additions and 11 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ export default async () => {
raw: true,
}).then(async (docs) => {
await DependenceModel.update(
{ status: DependenceStatus.installing, log: [] },
{ status: DependenceStatus.queued, log: [] },
{ where: { id: docs.map((x) => x.id!) } },
);
dependenceService.installDependenceOneByOne(docs);