diff --git a/src/AppConfig.js b/src/AppConfig.js index e102edbe1..308ff1a6a 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -32,7 +32,7 @@ export function initAxiosInterceptors(props) { // 判断网络是否连接 initOnlineOfflineListener(); - var proxy = "https://testforgeplus.trustie.net"; + var proxy = "http://172.20.32.202:4000/"; // var proxy = "https://www.gitlink.org.cn"; //响应前的设置 diff --git a/src/forge/Branch/Select.jsx b/src/forge/Branch/Select.jsx index cc19439ea..a5f4d97c9 100644 --- a/src/forge/Branch/Select.jsx +++ b/src/forge/Branch/Select.jsx @@ -37,9 +37,8 @@ export default (({ projectsId , branch , owner , changeBranch , branchList , tag function ChangeB(params,type) { setVisible(false); - // let en = turnbar(params); - changeBranch(params); - setShowValue(type ? truncateCommitId(params) : params); + let en = turnbar(params); + changeBranch(en); } const menu = ( diff --git a/src/forge/Main/tree/Index.jsx b/src/forge/Main/tree/Index.jsx index 57cec0c87..ab9b9153d 100644 --- a/src/forge/Main/tree/Index.jsx +++ b/src/forge/Main/tree/Index.jsx @@ -303,7 +303,7 @@ function Index(props) {