+
-
+
-
+
diff --git a/ui/src/components/TopNav/index.vue b/ui/src/components/TopNav/index.vue
index c91801b78..4ed5db9cd 100644
--- a/ui/src/components/TopNav/index.vue
+++ b/ui/src/components/TopNav/index.vue
@@ -68,15 +68,15 @@ function initData() {
if (operator == 'read') {
routeData.name = type
add.label = name
- add.type = type == 'index-rule' || type == 'index-rule' ? `Read-${type}` : 'Read'
+ add.type = type == 'index-rule' || type == 'index-rule-binding' ? `Read-${type}` : 'Read'
} else if (operator == 'edit') {
routeData.name = `edit-${type}`
add.label = name
- add.type = type == 'index-rule' || type == 'index-rule' ? `Edit-${type}` : 'Edit'
+ add.type = type == 'index-rule' || type == 'index-rule-binding' ? `Edit-${type}` : 'Edit'
} else {
routeData.name = `create-${type}`
add.label = group
- add.type = type == 'index-rule' || type == 'index-rule' ? `Create-${type}` : 'Create'
+ add.type = type == 'index-rule' || type == 'index-rule-binding' ? `Create-${type}` : 'Create'
}
data.tabsList.push(add)
}
diff --git a/ui/src/router/index.js b/ui/src/router/index.js
index e19f41cdd..79e417c7c 100644
--- a/ui/src/router/index.js
+++ b/ui/src/router/index.js
@@ -72,34 +72,34 @@ const router = createRouter({
component: () => import('@/views/Stream/createEdit.vue')
},
{
- path: '/banyandb/stream/index-rule/operator/:type/:operator/:group',
+ path: '/banyandb/stream/index-rule/operator-read/:type/:operator/:group/:name',
+ name: 'index-rule',
+ component: () => import('@/components/IndexRule/index.vue')
+ },
+ {
+ path: '/banyandb/stream/index-rule/operator-create/:type/:operator/:group',
name: 'create-index-rule',
component: () => import('@/components/IndexRule/Editor.vue')
},
{
- path: '/banyandb/stream/index-rule/operator/:type/:operator/:group/:name',
+ path: '/banyandb/stream/index-rule/operator-edit/:type/:operator/:group/:name',
name: 'edit-index-rule',
component: () => import('@/components/IndexRule/Editor.vue')
},
{
- path: '/banyandb/stream/index-rule/operator/:type/:operator/:group/:name',
- name: 'index-rule',
- component: () => import('@/components/IndexRule/index.vue')
+ path: '/banyandb/stream/index-rule-binding/operator-read/:type/:operator/:group/:name',
+ name: 'index-rule-binding',
+ component: () => import('@/components/IndexRuleBinding/index.vue')
},
{
- path: '/banyandb/stream/index-rule-binding/operator/:type/:operator/:group',
+ path: '/banyandb/stream/index-rule-binding/operator-create/:type/:operator/:group',
name: 'create-index-rule-binding',
component: () => import('@/components/IndexRuleBinding/Editor.vue')
},
{
- path: '/banyandb/stream/index-rule-binding/operator/:type/:operator/:group/:name',
+ path: '/banyandb/stream/index-rule-binding/operator-edit/:type/:operator/:group/:name',
name: 'edit-index-rule-binding',
component: () => import('@/components/IndexRuleBinding/Editor.vue')
- },
- {
- path: '/banyandb/stream/index-rule-binding/operator/:type/:operator/:group/:name',
- name: 'index-rule-binding',
- component: () => import('@/components/IndexRuleBinding/index.vue')
}
]
},
diff --git a/ui/src/styles/elementPlus.scss b/ui/src/styles/elementPlus.scss
index 5f257a144..dbbc12733 100644
--- a/ui/src/styles/elementPlus.scss
+++ b/ui/src/styles/elementPlus.scss
@@ -131,7 +131,6 @@
el-select
==================== */
.el-select {
- height: 25px !important;
border-radius: 1px !important;
--el-select-input-focus-border-color: var(--color-main) !important;
--el-select-border-color-hover: var(--color-main) !important;
@@ -156,26 +155,25 @@
el-input
====================*/
.el-input {
- height: 25px !important;
--el-input-border-radius: 1px !important;
--el-input-focus-border-color: var(--color-main) !important;
--el-input-clear-hover-color: var(--color-main) !important;
- .el-input__inner {
+ /* .el-input__inner {
height: 25px !important;
- }
+ } */
}
/* ================
el-date-editor
=====================*/
.el-date-editor {
- height: 25px !important;
+ /* height: 25px !important; */
border-radius: 1px !important;
- .el-range-input {
+ /* .el-range-input {
height: 21px !important;
- }
+ } */
}
/* ================