添加文章管理和文章分组页面

This commit is contained in:
Eamon
2026-06-09 16:37:40 +08:00
parent 9f74483345
commit d2c7846a91
24 changed files with 1908 additions and 32 deletions

View File

@@ -59,6 +59,7 @@ export default function Appbar(props: { admin: Admin }) {
dashboard: "控制台",
content: "内容管理",
articles: "文章管理",
"article-groups": "文章分组",
media: "媒体库",
user: "客户认领",
roles: "角色权限",
@@ -82,9 +83,12 @@ export default function Appbar(props: { admin: Admin }) {
balance: "余额明细",
gateway: "网关列表",
couponList: "已发放优惠券",
new: "新建文章",
}
return labels[path] || path
if (labels[path]) return labels[path]
if (/^\d+$/.test(path)) return "编辑文章"
return path
}
const breadcrumbs = generateBreadcrumbs()