From 0d2617e4f0efab7346f353fb064b554d37ae85e8 Mon Sep 17 00:00:00 2001 From: xpume <770954908@qq.com> Date: Tue, 6 Feb 2024 00:25:05 +0800 Subject: [PATCH] docs: fix 404 url --- docs/docs/authority-management.en-US.md | 2 +- docs/docs/authority-management.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/authority-management.en-US.md b/docs/docs/authority-management.en-US.md index 0527da9a0..54a8abec6 100644 --- a/docs/docs/authority-management.en-US.md +++ b/docs/docs/authority-management.en-US.md @@ -16,7 +16,7 @@ There are often scenarios in the project where different users have different pe - Different users can see different elements and do different operations. - Different users have different access rights to the page. -> To deal with these problems, we provide a easy, easier-to-use, and universal solution, an umi plugin - [@umijs/plugin-access](https://umijs.org/plugins/plugin-access). By the steps of: 1. define permissions; 2. use permissions, you can **control the permissions in React component.** With another convenient plugin - [@umijs/plugin-layout](https://umijs.org/plugins/plugin-layout), you could control permissions of page access. +> To deal with these problems, we provide a easy, easier-to-use, and universal solution, an umi plugin - [@umijs/plugin-access](https://umijs.org/docs/max/access). By the steps of: 1. define permissions; 2. use permissions, you can **control the permissions in React component.** With another convenient plugin - [@umijs/plugin-layout](https://umijs.org/docs/max/layout-menu), you could control permissions of page access. ## 2. Usage diff --git a/docs/docs/authority-management.zh-CN.md b/docs/docs/authority-management.zh-CN.md index ea390b659..b07d78042 100644 --- a/docs/docs/authority-management.zh-CN.md +++ b/docs/docs/authority-management.zh-CN.md @@ -16,7 +16,7 @@ nav: - 不同的用户在页面中可以看到的元素和操作不同 - 不同的用户对页面的访问权限不同 -> 针对这些场景,我们为中台场景下常用的权限控制提供了一种更加简单、易用、通用的解决方案。实现了一个基于 umi 插件的权限管理方案 - [@umijs/plugin-access](https://umijs.org/zh-CN/plugins/plugin-access)。通过定义权限,使用权限,完成 **React 组件内的执行权限控制,渲染权限控制。**搭配 [@alipay/umi-plugin-layout](https://umijs.org/zh-CN/plugins/plugin-layout) 插件一起使用,还可以进一步完成对**路由权限**的控制。 +> 针对这些场景,我们为中台场景下常用的权限控制提供了一种更加简单、易用、通用的解决方案。实现了一个基于 umi 插件的权限管理方案 - [@umijs/plugin-access](https://umijs.org/docs/max/access)。通过定义权限,使用权限,完成 **React 组件内的执行权限控制,渲染权限控制。**搭配 [@umijs/umi-plugin-layout](https://umijs.org/docs/max/layout-menu) 插件一起使用,还可以进一步完成对**路由权限**的控制。 ## 二、如何使用