feat: add API endpoints for fetching news by ID and slug, and update routing accordingly

This commit is contained in:
Ardeman
2025-03-24 13:42:36 +08:00
parent f2f49de86b
commit 1885eab4c3
6 changed files with 31 additions and 7 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export const ContentsPage = () => {
},
{
title: 'Action',
data: 'slug',
data: 'id',
},
]
const dataSlot: DataTableSlots = {