From eff6796c8cdaa1fc946f5d00ae73c8283ff5988d Mon Sep 17 00:00:00 2001 From: Hualiang <78242797+hualiong@users.noreply.github.com> Date: Tue, 10 Sep 2024 21:07:21 +0800 Subject: [PATCH] =?UTF-8?q?docs(route):=20=E4=BF=AE=E6=94=B9=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E4=B8=AD=E7=9A=84=E8=B7=AF=E7=94=B1=E9=94=99=E8=AF=AF?= =?UTF-8?q?=20(#16684)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/samd/news.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/samd/news.ts b/lib/routes/samd/news.ts index ec914dc64..097c42de4 100644 --- a/lib/routes/samd/news.ts +++ b/lib/routes/samd/news.ts @@ -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,见下表' },