diff --git a/frontend/src/components/workspace/iframe-test-panel.tsx b/frontend/src/components/workspace/iframe-test-panel.tsx index 7b1d3e92..5491d96a 100644 --- a/frontend/src/components/workspace/iframe-test-panel.tsx +++ b/frontend/src/components/workspace/iframe-test-panel.tsx @@ -313,6 +313,9 @@ export function IframeTestPanel() { selectedSkills: [ { id: "5", name: "文档处理" }, { id: "1216", name: "市场研究报告" }, + { id: "1245", name: "市场研究报告" }, + { id: "520", name: "市场研究报告" }, + { id: "409", name: "市场研究报告" }, ], }, "*", diff --git a/frontend/src/components/workspace/input-box.tsx b/frontend/src/components/workspace/input-box.tsx index 2e5251f6..44b099b5 100644 --- a/frontend/src/components/workspace/input-box.tsx +++ b/frontend/src/components/workspace/input-box.tsx @@ -366,7 +366,7 @@ export function InputBox({ "pointer-events-none invisible h-[0px] translate-y-2 p-[0px] opacity-0", )} > - + {/* TODO: Add more connectors here @@ -654,10 +654,10 @@ function IframeSkillDialogButton({ const { t } = useI18n(); return ( -
+
) : null} {!isBootstrapping && selectedSkills.length > 0 ? ( -
+
{ + if (event.deltaY === 0) return; + event.currentTarget.scrollLeft += event.deltaY; + }} + > {selectedSkills.map((skill, index) => ( - + {skill.title} {/* TODO: 因为后端接口不支持取消选择skill,所以暂时禁用取消选择按钮 */} {/*