[Update] 修复 云管中心 三级菜单嵌套问题

This commit is contained in:
xinwen
2020-05-22 17:44:22 +08:00
parent 1a631b25ea
commit 27eaaeb592
3 changed files with 18 additions and 2 deletions

View File

@@ -654,7 +654,7 @@
"restoreDialogTitle": "你确认吗",
"technologyConsult": "技术咨询",
"Cloud": {
"Cloud": "管中心",
"Cloud": "管中心",
"AccountList": "账户列表",
"AccountCreate": "创建账户",
"AccountUpdate": "更新账户",

15
src/layout/empty.vue Normal file
View File

@@ -0,0 +1,15 @@
<template>
<div>
<router-view />
</div>
</template>
<script>
export default {
name: 'Layout'
}
</script>
<style lang="scss" scoped>
</style>

View File

@@ -1,4 +1,5 @@
import Layout from '@/layout/index'
import empty from '@/layout/empty'
import i18n from '@/i18n/i18n'
export default {
@@ -110,7 +111,7 @@ export default {
},
{
path: '/cloud',
component: Layout,
component: empty,
redirect: '/cloud/account',
name: 'Cloud',
meta: { title: i18n.t('xpack.Cloud.Cloud') },