fix(frontend): replace demo fallback wording
This commit is contained in:
@@ -222,7 +222,7 @@ const training = computed(() => apiResult.value?.training ?? activeSeed.value.tr
|
||||
const apiPill = computed(() => {
|
||||
if (apiMode.value === 'api') return { label: '后端 API', type: 'pill-primary' };
|
||||
if (apiMode.value === 'fallback') return { label: 'API 失败回退', type: 'pill-warning' };
|
||||
return { label: '本地 seed 演示', type: 'pill-primary' };
|
||||
return { label: '本地知识兜底', type: 'pill-primary' };
|
||||
});
|
||||
const flowStatus = computed(() => {
|
||||
if (trainingGenerated.value) return { label: '已完成闭环', type: 'pill-success' };
|
||||
@@ -292,7 +292,7 @@ async function runSearch() {
|
||||
apiResult.value = null;
|
||||
apiMode.value = 'fallback';
|
||||
searched.value = true;
|
||||
ElMessage.warning('后端 SOP 检索 API 不可用,已回退本地 seed 知识库');
|
||||
ElMessage.warning('后端 SOP 检索 API 不可用,已使用本地知识兜底');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user