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'; |
|||
import { Retrieval, Results } from './containers'; |
|||
import { Retrieval } from './containers'; |
|||
export default [{ |
|||
type: 'inner', |
|||
route: { |
|||
path: '/resourceRetrieval', |
|||
key: 'resourceRetrieval', |
|||
breadcrumb: '资源消费', |
|||
// 不设置 component 则面包屑禁止跳转
|
|||
childRoutes: [{ |
|||
path: '/retrieval', |
|||
key: 'retrieval', |
|||
component: Retrieval, |
|||
breadcrumb: '数据资源检索' |
|||
}, { |
|||
path: '/results', |
|||
key: 'results', |
|||
component: Results, |
|||
breadcrumb: '检索结果' |
|||
}] |
|||
component: Retrieval |
|||
} |
|||
}]; |
Loading…
Reference in new issue