Commit ce8a94ec authored by yanzhengyang's avatar yanzhengyang

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

parent c3a79d84
...@@ -16,7 +16,9 @@ ...@@ -16,7 +16,9 @@
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"
/> />
{{ item.meta.title }} <div style="line-height: 20px;text-align: center">
{{ item.meta.title }}<br/>{{ testMenus[index] }}
</div>
</el-menu-item> </el-menu-item>
</template> </template>
...@@ -64,6 +66,15 @@ const permissionStore = usePermissionStore() ...@@ -64,6 +66,15 @@ 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