feat: 新增FAQ推荐标签和批量操作支持,优化标签删除逻辑

This commit is contained in:
wizardchen
2025-12-12 19:57:08 +08:00
parent 99b6522c86
commit c461a59ecd
23 changed files with 784 additions and 81 deletions
@@ -359,7 +359,7 @@ const confirmDeleteTag = (tag: any) => {
t('knowledgeBase.tagDeleteDesc', { name: tag.name }) as string,
);
if (!confirm) return;
deleteKnowledgeBaseTag(kbId.value, tag.id)
deleteKnowledgeBaseTag(kbId.value, tag.id, { force: true })
.then(() => {
MessagePlugin.success(t('knowledgeBase.tagDeleteSuccess'));
if (selectedTagId.value === tag.id) {