From fb4e7bc0cdc99a280928ae4ff17ff5ed67c07694 Mon Sep 17 00:00:00 2001 From: guanweiwang <994259213@qq.com> Date: Wed, 23 Jul 2025 21:46:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A8=A1=E5=9E=8B=E6=BF=80=E6=B4=BB?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/main.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/main.tsx b/ui/src/main.tsx index 4003173..90f4051 100644 --- a/ui/src/main.tsx +++ b/ui/src/main.tsx @@ -61,8 +61,8 @@ const App = () => { return false; } else { const isActive = - res[0].every((item) => item.is_active) && - res[1].every((item) => item.is_active); + res[0].some((item) => item.is_active) && + res[1].some((item) => item.is_active); if (isActive) { setIsConfigModel(true); return true;