编辑合并请求-url地址错误

This commit is contained in:
caishi 2021-05-08 14:24:02 +08:00
parent 037a79de67
commit af8872176c
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ export function initAxiosInterceptors(props) {
}, },
err => { err => {
return Promise.reject(err); return Promise.reject(err);
}); });
axios.interceptors.response.use(function (response) { axios.interceptors.response.use(function (response) {
if (response === undefined) { if (response === undefined) {

View File

@ -178,7 +178,7 @@ class MergeItem extends Component {
> >
<div className="grid-item mr15 color-grey-9"> <div className="grid-item mr15 color-grey-9">
<Link <Link
to={`/projects/${owner}/${projectsId}/merge/${item.pull_request_id}/updatemerge`} to={`/projects/${owner}/${projectsId}/pulls/${item.pull_request_id}/updatemerge`}
className="color-grey-9" className="color-grey-9"
> >
<i className="iconfont icon-bianji3 font-14 mr5"></i> <i className="iconfont icon-bianji3 font-14 mr5"></i>