This commit is contained in:
taozhiyu 2025-08-26 21:11:04 +08:00
parent 6063bc3a67
commit b1264a9b3a
No known key found for this signature in database
GPG Key ID: A38E8DF826ECA7E3

View File

@ -107,7 +107,7 @@ export default class DependenceService {
query: any = {},
): Promise<Dependence[]> {
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) {