feat(web): 修复yarn页面查看资源队列错误
This commit is contained in:
@@ -31,6 +31,7 @@ import YarnCluster from './pages/overview/YarnCluster.tsx'
|
||||
import {commonInfo} from './util/amis.tsx'
|
||||
import Test from './pages/Test.tsx'
|
||||
import Feedback from './pages/ai/feedback/Feedback.tsx'
|
||||
import {values} from 'licia'
|
||||
|
||||
export const routes: RouteObject[] = [
|
||||
{
|
||||
@@ -58,7 +59,7 @@ export const routes: RouteObject[] = [
|
||||
Component: Version,
|
||||
},
|
||||
{
|
||||
path: 'yarn/:clusters/:queue/:search?',
|
||||
path: 'yarn/:clusters/:queues/:search?',
|
||||
Component: Yarn,
|
||||
},
|
||||
{
|
||||
@@ -146,12 +147,12 @@ export const menus = {
|
||||
icon: <SunOutlined/>,
|
||||
},
|
||||
{
|
||||
path: `/yarn/${commonInfo.clusters.sync_names()}/root/Sync`,
|
||||
path: `/yarn/${commonInfo.clusters.sync_names()}/default/Sync`,
|
||||
name: '同步集群',
|
||||
icon: <SyncOutlined/>,
|
||||
},
|
||||
{
|
||||
path: `/yarn/${commonInfo.clusters.compaction_names()}/default/Compaction`,
|
||||
path: `/yarn/${commonInfo.clusters.compaction_names()}/${values(commonInfo.clusters.compaction).join(",")}/Compaction`,
|
||||
name: '压缩集群',
|
||||
icon: <SyncOutlined/>,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user