This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/master by this push:
new d9240c07d fix web router (#4991)
d9240c07d is described below
commit d9240c07d5129703300ebdb62e7cd525ba110e34
Author: Yonghao Mei <[email protected]>
AuthorDate: Tue Nov 28 17:58:00 2023 +0800
fix web router (#4991)
* chore: add new pages to linkis-web and fix bugs of web
* upd: update version
* web router fix
---
linkis-web/src/apps/linkis/router.js | 26 ++++++++++++------------
linkis-web/src/apps/linkis/view/linkis/index.vue | 12 ++---------
2 files changed, 15 insertions(+), 23 deletions(-)
diff --git a/linkis-web/src/apps/linkis/router.js
b/linkis-web/src/apps/linkis/router.js
index a94beab0c..9aa3b05a3 100644
--- a/linkis-web/src/apps/linkis/router.js
+++ b/linkis-web/src/apps/linkis/router.js
@@ -289,34 +289,34 @@ export default [
},
},
{
- name: 'codeQuery',
- path: 'codeQuery',
+ name: 'configManagement',
+ path: 'configManagement',
component: () =>
- import('./module/codeQuery/index.vue'),
+ import('./module/configManagement/index.vue'),
meta: {
- title: 'codeQuery',
+ title: 'configManagement',
publicPage: true,
},
},
{
- name: 'codeDetail',
- path: 'codeDetail',
+ name: 'viewHistoryDetail',
+ path: 'viewHistoryDetail',
component: () =>
- import('./module/codeQuery/codeDetail/index.vue'),
+ import('./module/globalHistoryManagement/viewHistory.vue'),
meta: {
- title: 'codeDetail',
+ title: 'viewHistoryDetail',
publicPage: true,
+ noLayout: true
},
},
{
- name: 'viewHistoryDetail',
- path: 'viewHistoryDetail',
+ name: 'userConfig',
+ path: 'userConfig',
component: () =>
- import('./module/globalHistoryManagement/viewHistory.vue'),
+ import('./module/userConfig/index.vue'),
meta: {
- title: 'viewHistoryDetail',
+ title: 'userConfig',
publicPage: true,
- noLayout: true
},
},
],
diff --git a/linkis-web/src/apps/linkis/view/linkis/index.vue
b/linkis-web/src/apps/linkis/view/linkis/index.vue
index fb579a4a0..07b792801 100644
--- a/linkis-web/src/apps/linkis/view/linkis/index.vue
+++ b/linkis-web/src/apps/linkis/view/linkis/index.vue
@@ -180,7 +180,6 @@ export default {
),
showSubMenu: true,
},
- { key: '1-11', name:
this.$t('message.linkis.sideNavList.function.children.codeQuery'), path:
'/console/codeQuery' },
{
key: '1-12',
name: this.$t(
@@ -269,13 +268,6 @@ export default {
),
path: '/console/ipListManagement',
},
- {
- key: '1-10-7',
- name: this.$t(
- 'message.linkis.sideNavList.function.children.acrossClusterRule'
- ),
- path: '/console/acrossClusterRule',
- },
{
key: '1-10-8',
name: this.$t(
@@ -396,8 +388,8 @@ export default {
return
}
if (index === '1-12') {
- this.sideNavList.children[10].showSubMenu =
- !this.sideNavList.children[10].showSubMenu
+ this.sideNavList.children[9].showSubMenu =
+ !this.sideNavList.children[9].showSubMenu
return
}
// index = index.split('-')[0] + '-' + index.split('-')[1]; //防止出现三级菜单
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]