fix
pyt
2025-05-23 c627bf9394e93f9f9d8c04ca33441eac47d2ad7d
1
2
3
4
5
6
7
/**
 * @see https://umijs.org/zh-CN/plugins/plugin-access
 * */
export default function access(initialState) {
  const { permission } = initialState ?? {};
  return { ...permission };
}