feat: add event tab
diff --git a/ui-vue3/src/base/i18n/en.ts b/ui-vue3/src/base/i18n/en.ts
index f197248..7648d7c 100644
--- a/ui-vue3/src/base/i18n/en.ts
+++ b/ui-vue3/src/base/i18n/en.ts
@@ -28,7 +28,8 @@
},
dynamicConfigDomain: {
YAMLView: 'YAML view',
- formView: 'Form view'
+ formView: 'Form view',
+ event: 'Event'
},
routingRuleDomain: {
YAMLView: 'YAML view',
diff --git a/ui-vue3/src/base/i18n/zh.ts b/ui-vue3/src/base/i18n/zh.ts
index 28e68a7..39071ca 100644
--- a/ui-vue3/src/base/i18n/zh.ts
+++ b/ui-vue3/src/base/i18n/zh.ts
@@ -28,7 +28,8 @@
},
dynamicConfigDomain: {
YAMLView: 'YAML视图',
- formView: '表单视图'
+ formView: '表单视图',
+ event: '事件'
},
routingRuleDomain: {
YAMLView: 'YAML视图',
diff --git a/ui-vue3/src/router/defaultRoutes.ts b/ui-vue3/src/router/defaultRoutes.ts
index a33feef..6464e6a 100644
--- a/ui-vue3/src/router/defaultRoutes.ts
+++ b/ui-vue3/src/router/defaultRoutes.ts
@@ -398,6 +398,15 @@
tab: true,
icon: 'oui:app-console'
}
+ },
+ {
+ path: '/event/:ruleName',
+ name: 'dynamicConfigDomain.event',
+ component: () => import('../views/traffic/dynamicConfig/tabs/event.vue'),
+ meta: {
+ tab: true,
+ icon: 'oui:app-console'
+ }
}
]
},
diff --git a/ui-vue3/src/views/traffic/dynamicConfig/tabs/event.vue b/ui-vue3/src/views/traffic/dynamicConfig/tabs/event.vue
new file mode 100644
index 0000000..a3cf4d1
--- /dev/null
+++ b/ui-vue3/src/views/traffic/dynamicConfig/tabs/event.vue
@@ -0,0 +1,26 @@
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+-->
+
+<template>
+ <div>event todo</div>
+</template>
+
+<script lang="ts" setup>
+import { ref } from 'vue'
+</script>
+
+<style lang="less" scoped></style>