Files
supersonic/webapp/packages/supersonic-fe/src/pages/401.tsx
poncheen 5585b9e222
Some checks failed
supersonic CentOS CI / build (21) (push) Has been cancelled
supersonic mac CI / build (21) (push) Has been cancelled
supersonic ubuntu CI / build (21) (push) Has been cancelled
supersonic windows CI / build (21) (push) Has been cancelled
Fix/ts errors in fe (#2218)
2025-04-11 20:58:35 +08:00

19 lines
478 B
TypeScript

import { Button, Result } from 'antd';
import React from 'react';
import { history } from '@umijs/max';
const NoAuthPage: React.FC = () => (
<Result
status="403"
title="当前页面无权限"
subTitle={1 ? '请联系项目管理员 jerryjzhang 开通权限' : '请申请加入自己业务的项目'}
extra={
<Button type="primary" onClick={() => history.push('/homepage')}>
</Button>
}
/>
);
export default NoAuthPage;