From 0b3880ec43a45ec9ea5d5b239014836a89a9904b Mon Sep 17 00:00:00 2001 From: expressgy Date: Wed, 10 Jul 2024 18:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Env=E7=9A=84root=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/application/core-env/core-env.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/core-env/core-env.service.ts b/src/application/core-env/core-env.service.ts index 2a4490d..96ea214 100644 --- a/src/application/core-env/core-env.service.ts +++ b/src/application/core-env/core-env.service.ts @@ -315,7 +315,7 @@ export class CoreEnvService { // } // ? 是否查pac的数据 - wl.push(eq(pacCoreEnv.root, isTrueEnum(data['root']) ? 0 : 1).if(isExistKey(data, 'root') && isTrueEnum(data['root']))); + wl.push(eq(pacCoreEnv.root, isTrueEnum(data['root']) ? 1 : 0).if(isExistKey(data, 'root'))); // ? 按照层级查 wl.push(eq(pacCoreEnv.pid, data.hierarchy).if(isExistKey(data, 'hierarchy')));