mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
docs: 更新文档
This commit is contained in:
parent
ea135b87c3
commit
3ad2d9115e
@ -313,7 +313,7 @@ export const layout = (layoutConfig, { initialState }) => ({
|
||||
比如:
|
||||
|
||||
```js
|
||||
export const access = {
|
||||
export const layout = {
|
||||
unAccessHandler({ to, next }) {
|
||||
const accesssIds = accessApi.getAccess();
|
||||
if (to.path === '/404') {
|
||||
@ -343,7 +343,7 @@ export const access = {
|
||||
比如:
|
||||
|
||||
```js
|
||||
export const access = {
|
||||
export const layout = {
|
||||
noFoundHandler({ next }) {
|
||||
const accesssIds = accessApi.getAccess();
|
||||
if (!accesssIds.includes('/404')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user