mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
feat: 添加getRouter
This commit is contained in:
parent
50946378a2
commit
ad52cad5a3
@ -293,7 +293,7 @@ export default function (api) {
|
||||
|
||||
api.addCoreExports(() => [
|
||||
{
|
||||
specifiers: ['getRoutes'],
|
||||
specifiers: ['getRoutes', 'getRouter'],
|
||||
source: absCoreFilePath
|
||||
}
|
||||
]);
|
||||
|
@ -33,3 +33,7 @@ export const createRouter = () => {
|
||||
|
||||
return router;
|
||||
};
|
||||
|
||||
export const getRouter = ()=>{
|
||||
return router;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user