스크린샷 2025-10-02 오전 8.06.49.png

스크린샷 2025-10-02 오전 8.07.17.png

When I tried to use getArticleList in main.js yesterday, the pageSize parameter was ignored and the function always returned 10 items in the JSON list. I wondered why, but couldn’t fix the error because it was late and I was too tired.

Today I found the reason: I hadn’t passed the correct parameter. As a result, getArticleList couldn’t receive it, so it returned the default number of items every time—10 objects of JSON data.

To resolve this problem, I uncommented the variable lists and passed it as a function parameter.

스크린샷 2025-10-02 오전 8.20.46.png

But this attempt didn’t work at all.

스크린샷 2025-10-02 오전 8.22.15.png

After examining ArticleService Axios.js, edited code like this.

스크린샷 2025-10-02 오전 8.25.44.png

This code return with JSON data well, but the pageSize ignored again.

스크린샷 2025-10-02 오전 8.27.23.png

Requested AI the reason of keep returning 10 objects of JSON data.

스크린샷 2025-10-02 오전 8.32.59.png

When you use fetch, fetch disregard {params: {page, pageSize, keyword}} this kind of object. So my solution had failed from the beginning.