diff --git a/src/forge/Main/tree/Index.jsx b/src/forge/Main/tree/Index.jsx index 4268934b..e89f6ae7 100644 --- a/src/forge/Main/tree/Index.jsx +++ b/src/forge/Main/tree/Index.jsx @@ -264,7 +264,12 @@ function Index(props) { function addBranchBtn(){ setAddBranch(true); const url = `/v1/${owner}/${projectsId}/branches.json`; - Axios.get(url).then(result=>{ + Axios.get(url,{ + params:{ + page: 1, + limit: total + } + }).then(result=>{ if(result){ const {branches} = result.data; setBranchList(branches);