feat:重启tag的删除功能
This commit is contained in:
parent
cec5a7c615
commit
a70f5a3902
|
|
@ -691,13 +691,13 @@ function IframeSkillDialogButton({
|
|||
<Tag key={`${skill.skill_id}-${skill.title}-${index}`} className="shrink-0">
|
||||
{skill.title}
|
||||
{/* TODO: 因为后端接口不支持取消选择skill,所以暂时禁用取消选择按钮 */}
|
||||
{/* <button
|
||||
<button
|
||||
onClick={() => clearSkill(skill.skill_id)}
|
||||
className="hover:bg-muted-foreground/20 ml-1 rounded-full"
|
||||
type="button"
|
||||
>
|
||||
<XIcon className="size-3" />
|
||||
</button> */}
|
||||
</button>
|
||||
</Tag>
|
||||
))}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue