From 5fb38ecc2ad4c5ca1f726de19b0265c13f036038 Mon Sep 17 00:00:00 2001 From: chanx <1243304602@qq.com> Date: Fri, 26 Dec 2025 11:00:11 +0800 Subject: [PATCH] Fix: Can not select LLM in memory page (#12219) ### What problem does this PR solve? Fix: Can not select LLM in memory page ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/src/components/ui/modal/modal.tsx | 3 +++ web/src/hooks/common-hooks.tsx | 1 + 2 files changed, 4 insertions(+) diff --git a/web/src/components/ui/modal/modal.tsx b/web/src/components/ui/modal/modal.tsx index 93845d088..a3f6d06fe 100644 --- a/web/src/components/ui/modal/modal.tsx +++ b/web/src/components/ui/modal/modal.tsx @@ -31,6 +31,7 @@ export interface ModalProps { cancelButtonClassName?: string; disabled?: boolean; style?: React.CSSProperties; + zIndex?: number; } export interface ModalType extends FC { show: typeof modalIns.show; @@ -63,6 +64,7 @@ const Modal: ModalType = ({ cancelButtonClassName, disabled = false, style, + zIndex = 50, }) => { const sizeClasses = { small: 'max-w-md', @@ -172,6 +174,7 @@ const Modal: ModalType = ({ maskClosable && onOpenChange?.(false)} + style={{ zIndex: zIndex }} > { style: { width: '450px', }, + zIndex: 1000, okButtonClassName: 'bg-state-error text-white hover:bg-state-error hover:text-white', onOk: async () => {