zmh
2 years ago
3 changed files with 5 additions and 29 deletions
@ -1,7 +0,0 @@ |
|||||
import React, { useEffect, useState } from 'react' |
|
||||
|
|
||||
function Results (props) { |
|
||||
return <>检索结果</> |
|
||||
} |
|
||||
|
|
||||
export default Results |
|
@ -1,22 +1,11 @@ |
|||||
'use strict'; |
'use strict'; |
||||
import { Retrieval, Results } from './containers'; |
import { Retrieval } from './containers'; |
||||
export default [{ |
export default [{ |
||||
type: 'inner', |
type: 'inner', |
||||
route: { |
route: { |
||||
path: '/resourceRetrieval', |
path: '/resourceRetrieval', |
||||
key: 'resourceRetrieval', |
key: 'resourceRetrieval', |
||||
breadcrumb: '资源消费', |
breadcrumb: '资源消费', |
||||
// 不设置 component 则面包屑禁止跳转
|
component: Retrieval |
||||
childRoutes: [{ |
|
||||
path: '/retrieval', |
|
||||
key: 'retrieval', |
|
||||
component: Retrieval, |
|
||||
breadcrumb: '数据资源检索' |
|
||||
}, { |
|
||||
path: '/results', |
|
||||
key: 'results', |
|
||||
component: Results, |
|
||||
breadcrumb: '检索结果' |
|
||||
}] |
|
||||
} |
} |
||||
}]; |
}]; |
Loading…
Reference in new issue