From 7606e464d6c2aac43f27d0046a02a6d016604ac1 Mon Sep 17 00:00:00 2001 From: Kinplemelon Date: Mon, 5 Aug 2024 17:13:57 +0800 Subject: [PATCH] Revert "fix(msg transform): hide msg transform first" This reverts commit 8ac5114a764500e769c1a304157cd94772c7642f. --- src/hooks/useMenus.ts | 2 +- src/router/index.ts | 50 +++++++++++++++++++++---------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/hooks/useMenus.ts b/src/hooks/useMenus.ts index aec06e9be..223ac8bdc 100644 --- a/src/hooks/useMenus.ts +++ b/src/hooks/useMenus.ts @@ -61,7 +61,7 @@ export default (): { { title: 'connector', path: '/connector' }, { title: 'schema-validation', path: '/schema-validation' }, { title: 'schema', path: '/schema' }, - // { title: 'message-transform', path: '/message-transform' }, + { title: 'message-transform', path: '/message-transform' }, ] const diagnose = [ diff --git a/src/router/index.ts b/src/router/index.ts index 507ab8073..c08c77ec3 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -800,31 +800,31 @@ export const routes: Array = [ ], }, // Message Transform - // { - // path: '/message-transform', - // component: Layout, - // meta: { - // hideKey: 'message-transform', - // authRequired: true, - // }, - // children: [ - // { - // path: '', - // name: 'message-transform', - // component: () => import('@/views/RuleEngine/MessageTransform/MessageTransform.vue'), - // }, - // { - // path: 'create', - // name: 'message-transform-create', - // component: () => import('@/views/RuleEngine/MessageTransform/TransformCreate.vue'), - // }, - // { - // path: ':transformName', - // name: 'message-transform-detail', - // component: () => import('@/views/RuleEngine/MessageTransform/TransformDetail.vue'), - // }, - // ], - // }, + { + path: '/message-transform', + component: Layout, + meta: { + hideKey: 'message-transform', + authRequired: true, + }, + children: [ + { + path: '', + name: 'message-transform', + component: () => import('@/views/RuleEngine/MessageTransform/MessageTransform.vue'), + }, + { + path: 'create', + name: 'message-transform-create', + component: () => import('@/views/RuleEngine/MessageTransform/TransformCreate.vue'), + }, + { + path: ':transformName', + name: 'message-transform-detail', + component: () => import('@/views/RuleEngine/MessageTransform/TransformDetail.vue'), + }, + ], + }, // Schema Registry { path: '/schema',