mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Jump from the chunk page to the dataset page #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -12,6 +12,12 @@ export enum Routes {
|
||||
ProfileSetting = '/profile-setting',
|
||||
DatasetTesting = '/testing',
|
||||
DatasetSetting = '/setting',
|
||||
Chunk = '/chunk',
|
||||
ChunkResult = `${Chunk}${Chunk}`,
|
||||
Parsed = '/parsed',
|
||||
ParsedResult = `${Chunk}${Parsed}`,
|
||||
Result = '/result',
|
||||
ResultView = `${Chunk}${Result}`,
|
||||
}
|
||||
|
||||
const routes = [
|
||||
@ -237,6 +243,35 @@ const routes = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: Routes.Chunk,
|
||||
layout: false,
|
||||
routes: [
|
||||
{
|
||||
path: Routes.Chunk,
|
||||
component: `@/pages${Routes.Chunk}`,
|
||||
routes: [
|
||||
{
|
||||
path: `${Routes.ParsedResult}/:id`,
|
||||
component: `@/pages${Routes.Chunk}/parsed-result`,
|
||||
},
|
||||
{
|
||||
path: `${Routes.ChunkResult}/:id`,
|
||||
component: `@/pages${Routes.Chunk}/chunk-result`,
|
||||
},
|
||||
{
|
||||
path: `${Routes.ResultView}/:id`,
|
||||
component: `@/pages${Routes.Chunk}/result-view`,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: Routes.Chunk,
|
||||
layout: false,
|
||||
component: `@/pages${Routes.Chunk}`,
|
||||
},
|
||||
{
|
||||
path: Routes.ProfileSetting,
|
||||
layout: false,
|
||||
|
||||
Reference in New Issue
Block a user