|
@@ -334,14 +334,14 @@
|
|
|
<el-button size="small" text @click="ignoreAllAiSuggestions">全部忽略</el-button>
|
|
<el-button size="small" text @click="ignoreAllAiSuggestions">全部忽略</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="element-tags-wrap">
|
|
|
|
|
|
|
+ <div class="element-tags-wrap ai-tags">
|
|
|
<div
|
|
<div
|
|
|
v-for="entity in aiSuggestedEntities"
|
|
v-for="entity in aiSuggestedEntities"
|
|
|
:key="entity.id"
|
|
:key="entity.id"
|
|
|
class="var-tag ai-suggestion"
|
|
class="var-tag ai-suggestion"
|
|
|
:class="[getEntityTypeClass(entity.type)]"
|
|
:class="[getEntityTypeClass(entity.type)]"
|
|
|
:title="`${getEntityTypeName(entity.type)}: ${entity.text} - 点击采纳`"
|
|
:title="`${getEntityTypeName(entity.type)}: ${entity.text} - 点击采纳`"
|
|
|
- @click="adoptEntity(entity)"
|
|
|
|
|
|
|
+ @click.stop="adoptEntity(entity)"
|
|
|
>
|
|
>
|
|
|
<span class="tag-icon">{{ getEntityTypeIcon(entity.type) }}</span>
|
|
<span class="tag-icon">{{ getEntityTypeIcon(entity.type) }}</span>
|
|
|
<span class="tag-name">{{ entity.text }}</span>
|
|
<span class="tag-name">{{ entity.text }}</span>
|