fix
pyt
2025-02-26 44f7d425e29d5a1eef5449c9f35362de9dac9008
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 };
}