mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 14:25:23 +00:00
[Update] 修复 云管中心 三级菜单嵌套问题
This commit is contained in:
@@ -654,7 +654,7 @@
|
|||||||
"restoreDialogTitle": "你确认吗",
|
"restoreDialogTitle": "你确认吗",
|
||||||
"technologyConsult": "技术咨询",
|
"technologyConsult": "技术咨询",
|
||||||
"Cloud": {
|
"Cloud": {
|
||||||
"Cloud": "运管中心",
|
"Cloud": "云管中心",
|
||||||
"AccountList": "账户列表",
|
"AccountList": "账户列表",
|
||||||
"AccountCreate": "创建账户",
|
"AccountCreate": "创建账户",
|
||||||
"AccountUpdate": "更新账户",
|
"AccountUpdate": "更新账户",
|
||||||
|
15
src/layout/empty.vue
Normal file
15
src/layout/empty.vue
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<router-view />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'Layout'
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
</style>
|
@@ -1,4 +1,5 @@
|
|||||||
import Layout from '@/layout/index'
|
import Layout from '@/layout/index'
|
||||||
|
import empty from '@/layout/empty'
|
||||||
import i18n from '@/i18n/i18n'
|
import i18n from '@/i18n/i18n'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -110,7 +111,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/cloud',
|
path: '/cloud',
|
||||||
component: Layout,
|
component: empty,
|
||||||
redirect: '/cloud/account',
|
redirect: '/cloud/account',
|
||||||
name: 'Cloud',
|
name: 'Cloud',
|
||||||
meta: { title: i18n.t('xpack.Cloud.Cloud') },
|
meta: { title: i18n.t('xpack.Cloud.Cloud') },
|
||||||
|
Reference in New Issue
Block a user