From 4d072026f69f72d9340b192be571ba093eb8d211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=B4=E6=99=96?= <2689991790@qq.com> Date: Thu, 28 Mar 2024 12:40:03 +0800 Subject: [PATCH] fix:Resolve the white screen problem --- ui/src/components/TopoComponent/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/TopoComponent/index.tsx b/ui/src/components/TopoComponent/index.tsx index d4245b938..cd8c2b93c 100644 --- a/ui/src/components/TopoComponent/index.tsx +++ b/ui/src/components/TopoComponent/index.tsx @@ -385,9 +385,9 @@ export default function TopoComponent({ defaultUnitCount: defaultUnitCount, ...resourcePoolDefaultValue, essentialParameter: isCreateResourcePool - ? resourcePoolDefaultValue.essentialParameter + ? resourcePoolDefaultValue?.essentialParameter : getOriginResourceUsages( - resourcePoolDefaultValue.essentialParameter, + resourcePoolDefaultValue?.essentialParameter, resourcePoolDefaultValue?.replicaList?.find( (replica) => replica.zone === resourcePoolDefaultValue.editZone,