chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -64,10 +64,10 @@ export const IntelligenceList: React.FC<IntelligenceListProps> = ({
|
||||
|
||||
return (
|
||||
<div className="relative h-full">
|
||||
{/* 上遮罩 */}
|
||||
{/* upper mask */}
|
||||
<div className="sticky top-0 left-0 right-0 h-[20px] bg-gradient-to-b from-[rgba(255,255,255,1)] to-transparent pointer-events-none z-10" />
|
||||
|
||||
{/* 列表内容 */}
|
||||
{/* list content */}
|
||||
<div className="styled-scrollbar">
|
||||
{data.list.map(intelligence => (
|
||||
<IntelligenceItem
|
||||
@@ -90,7 +90,7 @@ export const IntelligenceList: React.FC<IntelligenceListProps> = ({
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
{/* 下遮罩 */}
|
||||
{/* lower mask */}
|
||||
<div className="sticky bottom-0 left-0 right-0 h-[20px] bg-gradient-to-t from-[rgba(255,255,255,1)] to-transparent pointer-events-none z-10" />
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -50,7 +50,7 @@ export const intelligenceSearchService = {
|
||||
},
|
||||
});
|
||||
const intelligenceList = resp?.data?.intelligences ?? [];
|
||||
// 只保留single mode bot
|
||||
// Keep only single mode bots
|
||||
const singleModeBotList = intelligenceList.filter(
|
||||
intelligence => intelligence.other_info?.bot_mode === BotMode.SingleMode,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user