mirror of
https://github.com/whyour/qinglong.git
synced 2025-09-11 21:33:06 +08:00
This commit is contained in:
parent
6063bc3a67
commit
b1264a9b3a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user