fix(knowledge): clarify image ocr availability
This commit is contained in:
@@ -178,7 +178,7 @@
|
|||||||
<label :class="displayOverview.rules.imageOcrEnabled ? '' : 'rule-item-disabled'">
|
<label :class="displayOverview.rules.imageOcrEnabled ? '' : 'rule-item-disabled'">
|
||||||
<span :class="displayOverview.rules.imageOcrEnabled ? '' : 'rule-label-muted'">
|
<span :class="displayOverview.rules.imageOcrEnabled ? '' : 'rule-label-muted'">
|
||||||
图片 OCR
|
图片 OCR
|
||||||
<el-tag v-if="!displayOverview.rules.imageOcrEnabled" size="small" type="info" class="coming-soon-tag">即将支持</el-tag>
|
<el-tag v-if="!displayOverview.rules.imageOcrEnabled" size="small" type="info" class="rule-status-tag">未配置视觉模型</el-tag>
|
||||||
</span>
|
</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
:model-value="displayOverview.rules.imageOcrEnabled"
|
:model-value="displayOverview.rules.imageOcrEnabled"
|
||||||
@@ -1235,7 +1235,7 @@ function fileBadgeClass(type: string) {
|
|||||||
color: #94a3b8;
|
color: #94a3b8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.coming-soon-tag {
|
.rule-status-tag {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
|
|||||||
Reference in New Issue
Block a user