Compare commits

..

2 Commits
master ... dev

Author SHA1 Message Date
floraachy 047618d844 Update test.py 2025-06-24 10:06:32 +08:00
floraachy 9fc5e9bddf ADD file via upload 2025-06-24 10:05:55 +08:00
2 changed files with 60 additions and 1 deletions

59
Routes.js Normal file
View File

@ -0,0 +1,59 @@
import app from './src/App'
// import users from './src/forge/users/Index';
import Detail from "./src/forge/Main/Detail";
// import Information from "./src/forge/Information/index"
// import NewsDetail from './src/forge/Information/Pages/newsDetail';
export default [
{
key:"zone",
path: "/zone/:deptId",
// component: app,
},
{
key: "zoneNews",
path: "/zone/:deptId/newdetail/:id",
// component: app
},
{
key:"detail",
path: "/:owner/:projectsId",
component: app,
}
];
export const deepRoutes = [
{
key: "zoneNews",
path: "/zone/:deptId/newdetail/:id",
onlyHead: true,
// component: NewsDetail
},
{
key: "zone",
path: "/zone/:deptId",
onlyHead: true,
// component: Information
},
{
key: "detailBranch",
path: "/:owner/:projectsId/tree/:branchName",
onlyHead: false,
component: Detail,
},
{
key: "detail",
path: "/:owner/:projectsId",
onlyHead: false,
component: Detail,
},
{
key: "owner",
path: "/:owner",
onlyHead: true,
// component: Detail,
}
]
// 不进行组织或个人判断
export const specialRoute = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder", "glcc","bindlogin", "softbot","zone", "undefined", "admins", "oauth", "competitions", "hiagent","softwareFactory"]

View File

@ -1,7 +1,7 @@
print("ok")
print("ok")
print("ok")
print("o23234324k")
print("o453243")
print("ok")
print("ok")
print("ok")