This commit is contained in:
2026-01-23 16:40:39 +08:00
parent 8825b8f23c
commit c84d4f74a6

View File

@@ -52,6 +52,7 @@ const CompanyListForm: React.FC = () => {
fixed: tableFixedByPhone('left'), fixed: tableFixedByPhone('left'),
render: (_, item) => ( render: (_, item) => (
<GapBox> <GapBox>
{auth.SF_ADMIN_COMPANY_EDIT && (
<Button <Button
type='primary' type='primary'
onClick={() => { onClick={() => {
@@ -60,6 +61,8 @@ const CompanyListForm: React.FC = () => {
> >
</Button> </Button>
)}
{auth.SF_ADMIN_USER_VIEW && (
<Button <Button
type='text' type='text'
onClick={() => { onClick={() => {
@@ -69,6 +72,7 @@ const CompanyListForm: React.FC = () => {
> >
</Button> </Button>
)}
</GapBox> </GapBox>
), ),
}, },