From 4fa3a34d8f9f40913c515c8bf66a612732c1a876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=9B=E4=B9=8B=E9=9B=A8?= <49258735+taozhiyu@users.noreply.github.com> Date: Sat, 6 Sep 2025 15:22:32 +0800 Subject: [PATCH] remove default condition type --- 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 06073470..1cb7e559 100644 --- a/back/services/dependence.ts +++ b/back/services/dependence.ts @@ -109,7 +109,7 @@ export default class DependenceService { let condition = query; if (DependenceTypes[type]) { condition.type = DependenceTypes[type]; - } else condition.type = [0, 1, 2]; + } if (status) { condition.status = status.split(',').map(Number); }