mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-20 06:34:55 +00:00
[improvement][headless-fe] Revamped the interaction for semantic modeling routing and successfully implemented the switching between dimension and dataset management.
This commit is contained in:
@@ -95,6 +95,12 @@ const ROUTES = [
|
||||
path: '/model/dataset/:domainId/:datasetId',
|
||||
component: './SemanticModel/View/components/Detail',
|
||||
envEnableList: [ENV_KEY.SEMANTIC],
|
||||
routes: [
|
||||
{
|
||||
path: '/model/dataset/:domainId/:datasetId/:menuKey',
|
||||
component: './SemanticModel/View/components/Detail',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/model/metric/:domainId/:modelId/:metricId',
|
||||
@@ -107,6 +113,17 @@ const ROUTES = [
|
||||
// },
|
||||
// ],
|
||||
},
|
||||
{
|
||||
path: '/model/dimension/:domainId/:modelId/:dimensionId',
|
||||
component: './SemanticModel/Dimension/Detail',
|
||||
envEnableList: [ENV_KEY.SEMANTIC],
|
||||
// routes: [
|
||||
// {
|
||||
// path: '/model/manager/:domainId/:modelId/:menuKey',
|
||||
// component: './SemanticModel/ModelManager',
|
||||
// },
|
||||
// ],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user