Merge "fix: Fix link jump"
This commit is contained in:
commit
dc0fa2104f
@ -147,7 +147,7 @@ const renderMenu = (t) => {
|
||||
{
|
||||
path: /^\/compute\/baremetal-node-admin\/detail\/.[^/]+$/,
|
||||
name: t('Bare Metal Node Detail'),
|
||||
key: 'baremetaNodeDetailAdmin',
|
||||
key: 'baremetalNodeDetailAdmin',
|
||||
routePath: '/compute/baremetal-node-admin/detail/:id',
|
||||
level: 2,
|
||||
},
|
||||
|
@ -272,7 +272,7 @@ const renderMenu = (t) => {
|
||||
{
|
||||
path: '/network/floatingip',
|
||||
name: t('Floating IPs'),
|
||||
key: 'floatingip',
|
||||
key: 'fip',
|
||||
level: 1,
|
||||
children: [
|
||||
{
|
||||
|
@ -23,7 +23,7 @@ const renderMenu = (t) => {
|
||||
{
|
||||
path: '/user/center',
|
||||
name: t('User Center'),
|
||||
key: '/user',
|
||||
key: 'userCenter',
|
||||
icon: <HomeOutlined />,
|
||||
level: 0,
|
||||
hasBreadcrumb: false,
|
||||
@ -32,7 +32,7 @@ const renderMenu = (t) => {
|
||||
{
|
||||
path: '/user/application-credentials',
|
||||
name: t('Application Credentials'),
|
||||
key: '/user/application-credentials',
|
||||
key: 'applicationCredential',
|
||||
level: 0,
|
||||
icon: <UserOutlined />,
|
||||
children: [],
|
||||
|
@ -54,7 +54,7 @@ export default class BareMetalNode extends Base {
|
||||
{
|
||||
title: t('Node ID/Name'),
|
||||
dataIndex: 'name',
|
||||
routerName: 'baremetalNodeDetail',
|
||||
routeName: 'baremetalNodeDetailAdmin',
|
||||
},
|
||||
{
|
||||
title: t('Ironic Instance Name'),
|
||||
|
@ -31,7 +31,7 @@ export class FloatingIpDetail extends Base {
|
||||
}
|
||||
|
||||
get listUrl() {
|
||||
return this.getRoutePath('floatingip');
|
||||
return this.getRoutePath('fip');
|
||||
}
|
||||
|
||||
get actionConfigs() {
|
||||
|
@ -61,7 +61,7 @@ export default class Listeners extends Base {
|
||||
{
|
||||
title: t('ID/Name'),
|
||||
dataIndex: 'name',
|
||||
routeName: this.getRouteName('lbDetail'),
|
||||
routeName: this.getRouteName('lbListenerDetail'),
|
||||
routeParamsFunc: (data) => {
|
||||
return {
|
||||
loadBalancerId: this.id,
|
||||
|
@ -30,7 +30,7 @@ export default class QoSPolicyDetail extends Base {
|
||||
}
|
||||
|
||||
get listUrl() {
|
||||
return this.getRoutePath('qosPolicy');
|
||||
return this.getRoutePath('networkQos');
|
||||
}
|
||||
|
||||
get actionConfigs() {
|
||||
|
@ -28,6 +28,7 @@ const insertRouteMap = (record = {}) => {
|
||||
|
||||
export const setRouteMap = (routes = []) => {
|
||||
routes.forEach((r) => insertRouteMap(r));
|
||||
console.log('routeMap', routeMap);
|
||||
return routeMap;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user