mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 403/404添加title
This commit is contained in:
parent
d14891b70a
commit
76c49e5555
@ -81,6 +81,9 @@ export default (api) => {
|
|||||||
path: '/403',
|
path: '/403',
|
||||||
name: 'Exception403',
|
name: 'Exception403',
|
||||||
component: winPath(join(api.paths.absTmpPath, join(namespace, 'views/403.vue'))),
|
component: winPath(join(api.paths.absTmpPath, join(namespace, 'views/403.vue'))),
|
||||||
|
meta: {
|
||||||
|
title: '403',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!routes.find((item) => item.path === '/404')) {
|
if (!routes.find((item) => item.path === '/404')) {
|
||||||
@ -88,6 +91,9 @@ export default (api) => {
|
|||||||
path: '/404',
|
path: '/404',
|
||||||
name: 'Exception404',
|
name: 'Exception404',
|
||||||
component: winPath(join(api.paths.absTmpPath, join(namespace, 'views/404.vue'))),
|
component: winPath(join(api.paths.absTmpPath, join(namespace, 'views/404.vue'))),
|
||||||
|
meta: {
|
||||||
|
title: '404',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user