添加文章管理和文章分组页面
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user