Commit 910774e1 authored by yanzhengyang's avatar yanzhengyang

test(顶部菜单):中英文显示

parent 65e1ffce
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
v-if="item.meta && item.meta.icon && item.meta.icon !== '#'" v-if="item.meta && item.meta.icon && item.meta.icon !== '#'"
:icon-class="item.meta.icon" :icon-class="item.meta.icon"
/> />
<div style="line-height: 20px;text-align: center"> {{ item.meta.title }}
{{ item.meta.title }}<br/>{{ testMenus[index] }}
</div>
</el-menu-item> </el-menu-item>
</template> </template>
...@@ -66,15 +64,6 @@ const permissionStore = usePermissionStore() ...@@ -66,15 +64,6 @@ const permissionStore = usePermissionStore()
const route = useRoute() const route = useRoute()
const router = useRouter() const router = useRouter()
const testMenus = [
'SystemManagement',
'Consistency Of Whole Vehicle Products',
'Control Plan Management',
'Basic Business Data',
'System Monitor',
'System Tools'
]
// 主题颜色 // 主题颜色
const theme = computed(() => settingsStore.theme) const theme = computed(() => settingsStore.theme)
// 所有的路由信息 // 所有的路由信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment