From 27eaaeb592823c670b7a2a5cdbd25b0073201330 Mon Sep 17 00:00:00 2001 From: xinwen Date: Fri, 22 May 2020 17:44:22 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E5=A4=8D=20=E4=BA=91?= =?UTF-8?q?=E7=AE=A1=E4=B8=AD=E5=BF=83=20=E4=B8=89=E7=BA=A7=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=B5=8C=E5=A5=97=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/cn.json | 2 +- src/layout/empty.vue | 15 +++++++++++++++ src/views/xpack/router.js | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/layout/empty.vue diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index f6b073ca7..cb9a75bdc 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -654,7 +654,7 @@ "restoreDialogTitle": "你确认吗", "technologyConsult": "技术咨询", "Cloud": { - "Cloud": "运管中心", + "Cloud": "云管中心", "AccountList": "账户列表", "AccountCreate": "创建账户", "AccountUpdate": "更新账户", diff --git a/src/layout/empty.vue b/src/layout/empty.vue new file mode 100644 index 000000000..ef27b69cd --- /dev/null +++ b/src/layout/empty.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/src/views/xpack/router.js b/src/views/xpack/router.js index 044fcc220..d554b2b28 100644 --- a/src/views/xpack/router.js +++ b/src/views/xpack/router.js @@ -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') },