Browse Source

update: access statements updated to valid document links (#11116)

pull/11120/head
fankaiLiu 2 years ago
committed by GitHub
parent
commit
58613e2d4f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/access.ts

2
src/access.ts

@ -1,5 +1,5 @@
/**
* @see https://umijs.org/zh-CN/plugins/plugin-access
* @see https://umijs.org/docs/max/access#access
* */
export default function access(initialState: { currentUser?: API.CurrentUser } | undefined) {
const { currentUser } = initialState ?? {};

Loading…
Cancel
Save