From f8569e366c279e277d29ba573d74fdf4bcbbeee0 Mon Sep 17 00:00:00 2001 From: nzomkxia Date: Wed, 24 Oct 2018 14:01:01 +0800 Subject: [PATCH] add feature label --- dubbo-admin-frontend/src/api/menu.js | 11 ++--------- .../src/components/public/Drawer.vue | 13 +++++++++++++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/dubbo-admin-frontend/src/api/menu.js b/dubbo-admin-frontend/src/api/menu.js index c94bb42..9cc25bd 100644 --- a/dubbo-admin-frontend/src/api/menu.js +++ b/dubbo-admin-frontend/src/api/menu.js @@ -12,15 +12,8 @@ const Menu = [ { title: 'Load Balance', path: '/governance/loadbalance' } ] }, - { title: 'QoS', path: '/qos', icon: 'computer' }, - { - title: 'Service Info', - icon: 'info', - group: 'info', - items: [ - { title: 'Version', path: '/info/version' } - ] - } + { title: 'Service Test', path: '/test', icon: 'computer', badge: 'feature' }, + { title: 'Service Mock', path: '/mock', icon: 'computer', badge: 'feature' }, ] export default Menu diff --git a/dubbo-admin-frontend/src/components/public/Drawer.vue b/dubbo-admin-frontend/src/components/public/Drawer.vue index f463dba..3d22df8 100644 --- a/dubbo-admin-frontend/src/components/public/Drawer.vue +++ b/dubbo-admin-frontend/src/components/public/Drawer.vue @@ -46,6 +46,9 @@ {{ subItem.title }} + + {{subItem.badge}} + @@ -55,6 +58,9 @@ {{ item.icon }} {{ item.title }} + + {{item.badge}} + @@ -83,3 +89,10 @@ } } + + -- GitLab