Skip to content

Commit

Permalink
docs(route): 修改文档中的路由错误 (DIYgod#16684)
Browse files Browse the repository at this point in the history
  • Loading branch information
hualiong authored Sep 10, 2024
1 parent 60aa1b7 commit eff6796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/samd/news.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ofetch from '@/utils/ofetch';
const dict = { '434': '行业资讯', '436': '协会动态', '438': '重要通知', '440': '政策法规' };

export const route: Route = {
path: 'news/:typeId',
path: '/news/:typeId',
categories: ['government'],
example: '/samd/news/440',
parameters: { type: '文章类型ID,见下表' },
Expand Down

0 comments on commit eff6796

Please sign in to comment.