minhnt-dev: get by slug
This commit is contained in:
@@ -23,7 +23,7 @@ const store = reactive({
|
||||
|
||||
(async () => {
|
||||
try {
|
||||
store.article.getArticleById(route.params.slug);
|
||||
store.article.getArticleBySlug(route.params.slug);
|
||||
} catch (error) {
|
||||
console.error("Error fetching data:", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user