We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 746cc8d commit 8e8383dCopy full SHA for 8e8383d
config/routes.ts
@@ -17,13 +17,15 @@ const routes: IRoute[] = [
17
exact: true,
18
icon: 'home',
19
name: '主页',
20
+ description:
21
+ 'CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。',
22
component: '@/page/topic',
23
},
24
{
25
path: '/my/messages',
26
27
icon: 'message',
- name: '未读消息',
28
+ title: '未读消息',
29
access: 'canReadMessage',
30
component: '@/page/message',
31
src/layout/index.tsx
@@ -40,6 +40,7 @@ const Layout: React.FC<React.PropsWithChildren<Props>> = (props) => {
40
41
let headerConfig: any = {
42
title: currentRoute?.title || currentRoute?.name,
43
+ subTitle: currentRoute?.description,
44
};
45
46
const detailRegx = /\/(topic|user)\/(.*)/g;
0 commit comments