From b1264a9b3a4ad7c2663a06334af2a6e5407a7469 Mon Sep 17 00:00:00 2001 From: taozhiyu <49258735+taozhiyu@users.noreply.github.com> Date: Tue, 26 Aug 2025 21:11:04 +0800 Subject: [PATCH] fix https://github.com/whyour/qinglong/pull/2778/files/6063bc3a67fb329de9b90f7c93524b862bd9eb93#r2266494581 --- back/services/dependence.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/services/dependence.ts b/back/services/dependence.ts index a2ee8bf2..06073470 100644 --- a/back/services/dependence.ts +++ b/back/services/dependence.ts @@ -107,7 +107,7 @@ export default class DependenceService { query: any = {}, ): Promise { let condition = query; - if (type && ['nodejs', 'python3', 'linux'].includes(type)) { + if (DependenceTypes[type]) { condition.type = DependenceTypes[type]; } else condition.type = [0, 1, 2]; if (status) {