fix: 补全搜索页面缺失的翻译内容
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m13s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m13s
- 栏目标题、搜索卡片类型翻译
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
{{ hit.summary }}
|
||||
</p>
|
||||
<p v-if="hit.type" class="result-type">
|
||||
<span>内容类型: </span>
|
||||
<span>{{ $t('search.section') }}: </span>
|
||||
<span class="result-type-name">{{ getIndexLabel(hit.type) }}</span>
|
||||
</p>
|
||||
</el-card>
|
||||
|
||||
@ -22,11 +22,11 @@
|
||||
}>();
|
||||
|
||||
const tabs = [
|
||||
{ name: 'all', label: '全部' },
|
||||
{ name: 'product', label: '产品' },
|
||||
{ name: 'solution', label: '解决方案' },
|
||||
{ name: 'question', label: '相关问题' },
|
||||
{ name: 'document', label: '文档资料' },
|
||||
{ name: 'all', label: $t('all') },
|
||||
{ name: 'product', label: $t('search.sections.product') },
|
||||
{ name: 'solution', label: $t('search.sections.solution') },
|
||||
{ name: 'question', label: $t('search.sections.faq') },
|
||||
{ name: 'document', label: $t('search.sections.document') },
|
||||
];
|
||||
|
||||
const resultCount = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user