feat: 新增权限按钮

This commit is contained in:
wenhua
2023-12-11 15:26:18 +08:00
parent 6929f6535c
commit aebbaadfac
3 changed files with 19 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
import Authenticationbtn from "@/components/Authenticationbtn";
import { Button } from "antd";
export default function Home() {
return(
<div>home</div>
<Authenticationbtn permission="['system:list']">
<Button></Button>
</Authenticationbtn>
)
}