-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
97 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { FC } from 'react'; | ||
|
||
import EmptyImages from '@/assets/compoments/Empty.png'; | ||
|
||
const EmptyBox: FC = () => { | ||
return ( | ||
<div className="w-full h-full flex items-center justify-center flex-col gap-4"> | ||
<img src={EmptyImages} className="w-54" /> | ||
<div className="font-semibold text-sm">暂无数据</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default EmptyBox; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { FC } from 'react'; | ||
import NoLoginPermissionImage from '@/assets/compoments/NoLoginPermission.png'; | ||
import { Button } from 'antd'; | ||
import { useNavigate } from 'react-router-dom'; | ||
|
||
const NoLoginPermission: FC = () => { | ||
const navigate = useNavigate(); | ||
|
||
const headLogin = () => { | ||
navigate('/login', { replace: true }); | ||
}; | ||
return ( | ||
<div className="w-full h-full flex items-center justify-center flex-col gap-4"> | ||
<img src={NoLoginPermissionImage} className="w-80" /> | ||
<div className="color-[#31343F] text-sm font-semibold"> | ||
暂无访问权限 | ||
</div> | ||
<div>登陆后即可访问该页面</div> | ||
<Button color="primary" variant="outlined" onClick={headLogin}> | ||
立即登陆 | ||
</Button> | ||
</div> | ||
); | ||
}; | ||
|
||
export default NoLoginPermission; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters