diff --git a/docs/reference/plugin/plugins/layout.md b/docs/reference/plugin/plugins/layout.md index 57d72927..9a8e11fd 100644 --- a/docs/reference/plugin/plugins/layout.md +++ b/docs/reference/plugin/plugins/layout.md @@ -130,7 +130,14 @@ export default { }, { name: 'simpleList' }], - + // 403 页面配置 + 403: { + title: '没有访问权限,请联系管理人员', + }, + // 404 页面配置 + 404: { + title: '哎呀!这个页面找不到了', + } }, }; ``` diff --git a/packages/fes-plugin-layout/src/runtime/views/403.vue b/packages/fes-plugin-layout/src/runtime/views/403.vue index 78a2b93c..3c297ef3 100644 --- a/packages/fes-plugin-layout/src/runtime/views/403.vue +++ b/packages/fes-plugin-layout/src/runtime/views/403.vue @@ -1,8 +1,10 @@ +