From 3f4b44753d11dcc8ef2f70f8d95fa20bb9bea134 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Mon, 21 Mar 2022 14:12:07 +0800 Subject: [PATCH] add menus --- src/layout/components/SideBar.vue | 35 ++++++++++--- src/locales/lang/en.ts | 5 ++ src/locales/lang/zh.ts | 5 ++ src/router/browser.ts | 43 +++++++++++++++ src/router/functions.ts | 43 +++++++++++++++ src/router/index.ts | 8 ++- src/router/infrastructure.ts | 36 ++++++++----- src/router/selfObservability.ts | 52 +++++++++++++++++++ src/views/Layer.vue | 20 +++++++ .../configuration/widget/MetricOptions.vue | 9 +--- 10 files changed, 228 insertions(+), 28 deletions(-) create mode 100644 src/router/browser.ts create mode 100644 src/router/functions.ts create mode 100644 src/router/selfObservability.ts diff --git a/src/layout/components/SideBar.vue b/src/layout/components/SideBar.vue index 971ebc75..7ca76b93 100644 --- a/src/layout/components/SideBar.vue +++ b/src/layout/components/SideBar.vue @@ -33,13 +33,17 @@ limitations under the License. -->