Skip to content

Commit 79e7c15

Browse files
authored
补充 发送分页参数
1 parent e9d477a commit 79e7c15

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/api/article.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ export function deleteArticleCategory (id) {
3131
})
3232
}
3333

34-
export function fetchArticle () {
34+
export function fetchArticle (params) {
3535
return axios({
3636
url: `${api.Article}`,
37-
method: 'get'
37+
method: 'get',
38+
params
3839
})
3940
}
4041

0 commit comments

Comments
 (0)