|
@@ -18,7 +18,8 @@
|
|
|
>
|
|
|
<i class="iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont" v-if="isActive(v)"></i>
|
|
|
<SvgIcon :name="v.meta?.icon" v-if="!isActive(v) && getThemeConfig.isTagsviewIcon" class="pr5" />
|
|
|
- <span>{{ v.meta?.title.indexOf('.')>0?$t(v.meta?.title):v.meta?.title }}</span>
|
|
|
+ <span> {{ v.name.startsWith('message.') > 0 ? $t(v.name) : $t(v.meta?.title) }}</span>
|
|
|
+ <!-- <span>{{ v.meta?.title.indexOf('.')>0?$t(v.meta?.title):v.meta?.title }}</span> -->
|
|
|
<template v-if="isActive(v)">
|
|
|
<SvgIcon
|
|
|
name="ele-RefreshRight"
|
|
@@ -69,6 +70,7 @@ import { isObjectValueEqual } from '/@/utils/arrayOperation';
|
|
|
import other from '/@/utils/other';
|
|
|
import Contextmenu from '/@/layout/navBars/tagsView/contextmenu.vue';
|
|
|
|
|
|
+
|
|
|
// 定义接口来定义对象的类型
|
|
|
interface TagsViewState {
|
|
|
routeActive: string;
|