-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 1.编辑器页面列表增加加载更多。2.修改创建页面标题问题。3.访问端增加未发布提示。
- Loading branch information
Showing
9 changed files
with
68 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# 接口地址 | ||
VITE_BASE_API=http://localhost:5000/api | ||
# VITE_BASE_API=http://mars-api.marsview.cc/api | ||
# VITE_BASE_API=http://localhost:5000/api | ||
VITE_BASE_API=http://mars-api.marsview.cc/api | ||
# 后台访问地址 | ||
VITE_ADMIN_URL=http://admin.marsview.cc |
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,22 @@ | ||
import { Button, Result } from 'antd'; | ||
import { useNavigate } from 'react-router-dom'; | ||
function NotFound() { | ||
const navigate = useNavigate(); | ||
const handleClick = () => { | ||
navigate('/'); | ||
}; | ||
return ( | ||
<Result | ||
status={500} | ||
title="500" | ||
subTitle={`当前页面暂未发布,请到编辑器端发布后访问。`} | ||
extra={ | ||
<Button type="primary" onClick={handleClick}> | ||
回首页 | ||
</Button> | ||
} | ||
/> | ||
); | ||
} | ||
|
||
export default NotFound; |
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
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