|
@@ -44,10 +44,10 @@ export default ({currentAgent, setCurrentAgent, show, setShow }: IProps) => {
|
|
|
|
|
|
return (
|
|
|
<Popup title="选择智能体" show={show} setShow={setShow}>
|
|
|
- <View className="flex flex-col gap-12 w-full">
|
|
|
+ <View className="flex flex-col gap-12 w-full overflow-y-auto max-h-[440px]">
|
|
|
{agents.map((item) => {
|
|
|
return (
|
|
|
- <View className="flex items-center gap-8 p-12 rounded-8 overflow-hidden bg-[#F8F8F8]" onClick={()=> handleClick(item)}>
|
|
|
+ <View className="flex items-center gap-8 p-12 rounded-8 overflow-hidden shrink-0 bg-[#F8F8F8]" onClick={()=> handleClick(item)}>
|
|
|
<View className="flex items-start w-40 shrink-0">
|
|
|
<AvatarMedia
|
|
|
source={item.avatarLogo || ""}
|