Commit 70f1e299 authored by nick zheng's avatar nick zheng

chore: 应用知识库移除提示

parent 1e190c30
...@@ -149,12 +149,17 @@ function handleUpdateDocumentParsing(value: boolean) { ...@@ -149,12 +149,17 @@ function handleUpdateDocumentParsing(value: boolean) {
</n-ellipsis> </n-ellipsis>
</div> </div>
<n-tooltip placement="top">
<template #trigger>
<div v-show="isHoverKnowledgeItem(knowledgeItem.id)" class="flex items-center justify-center"> <div v-show="isHoverKnowledgeItem(knowledgeItem.id)" class="flex items-center justify-center">
<i <i
class="hover:text-error-font-color text-font-color iconfont icon-reduce cursor-pointer outline-none" class="hover:text-error-font-color text-font-color iconfont icon-reduce cursor-pointer outline-none"
@click.stop="handleDeleteKnowledgeItem(knowledgeItem.id)" @click.stop="handleDeleteKnowledgeItem(knowledgeItem.id)"
/> />
</div> </div>
</template>
<span>{{ t('common_module.remove') }}</span>
</n-tooltip>
</li> </li>
</ul> </ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment