This commit is contained in:
PC-202306242200\Administrator
2024-09-20 16:23:00 +08:00
parent 7d2f597082
commit 43e4dfa700
6 changed files with 39 additions and 38 deletions

View File

@@ -177,7 +177,7 @@ const RoleTableList: React.FC = () => {
toolBarRender={() => [
<Button
type="primary"
key="add"
hidden={!access.hasPerms('/api/sys/role/add')}
onClick={async () => {
setCurrentRow(undefined);
setModalVisible(true);