CN-1066 feat: 增加知识库格式提示
This commit is contained in:
@@ -94,6 +94,22 @@
|
||||
}) }}
|
||||
</div>
|
||||
<div class="imported-table-box" :class="previewErrorTip ? 'imported-table-box--error' : ''">
|
||||
<div class="entity-format-tip">
|
||||
<template v-if="editObject.source === knowledgeBaseType.find(t => t.name === 'ip').value">
|
||||
<div><span>{{$t('overall.format')}}:</span></div>
|
||||
<div><span>IPv4</span> x.x.x.x</div>
|
||||
<div><span>IPv4 CIDR</span> x.x.x.x/n</div>
|
||||
<div><span>IPv4 Range</span> x.x.x.x-y.y.y.y</div>
|
||||
<div><span>IPv6</span> x:x:x::x</div>
|
||||
<div><span>IPv6 CIDR</span> x:x:x::x/n</div>
|
||||
<div><span>IPv6 Range</span> x:x:x::x-y:y:y::y</div>
|
||||
</template>
|
||||
<template v-else-if="editObject.source === knowledgeBaseType.find(t => t.name === 'domain').value">
|
||||
<div><span>{{$t('overall.format')}}:</span></div>
|
||||
<div><span>{{$t('entities.format.suffix')}}</span> *example.com</div>
|
||||
<div><span>{{$t('entities.format.exactly')}}</span> $www.example.com</div>
|
||||
</template>
|
||||
</div>
|
||||
<el-form ref="editForm" :model="editTagForm" :rules="editTagFormRules">
|
||||
<table class="imported-table" v-if="!importedDataNoData">
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user