|
@@ -45,7 +45,7 @@
|
|
|
<el-tabs v-model="state.activeTab" class="archive-list-tabs">
|
|
|
<el-tab-pane label="首页" name="首页"/>
|
|
|
<template v-for="([key, value], index) in themeConfigCpt.tabs">
|
|
|
- <el-tab-pane :label="value.indexName" :name="key"/>
|
|
|
+ <el-tab-pane :label="value.indexNameShort || value.indexName" :name="key"/>
|
|
|
</template>
|
|
|
</el-tabs>
|
|
|
<template v-if="state.activeTab === '首页'">
|
|
@@ -87,7 +87,7 @@
|
|
|
<div class="archive-list-block">
|
|
|
<div class="archive-list-block-title">
|
|
|
<SvgIcon class="flag" name="flag_1" color="var(--cus-main-color)"/>
|
|
|
- {{ themeConfigCpt.tabs.get(state.activeTab)?.indexName }}
|
|
|
+ {{ themeConfigCpt.tabs.get(state.activeTab)?.indexNameShort || themeConfigCpt.tabs.get(state.activeTab)?.indexName }}
|
|
|
</div>
|
|
|
<div class="archive-list-block-page" v-loading="state.tabTable.loading">
|
|
|
<CusTable
|
|
@@ -265,6 +265,7 @@ const themeConfigCpt = computed(() => {
|
|
|
res.tabs.set(v.id, {
|
|
|
__type: v.type,
|
|
|
indexName: v.indexName,
|
|
|
+ indexNameShort: v.indexNameShort,
|
|
|
indexTableName: v.indexTableName,
|
|
|
indexId: v.indexId,
|
|
|
searchParam: getSearchParam(v),
|